src/Query/User/PackageQuery/DbalPackageQuery.php
File DbalPackageQuery.php
has 419 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
declare(strict_types=1);
namespace Buddy\Repman\Query\User\PackageQuery;
Method findAll
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function findAll(string $organizationId, Filter $filter): array
{
$filterSQL = $joinSQL = '';
$params = [
'organization_id' => $organizationId,
Method getDetailsById
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getDetailsById(string $id): Option
{
$data = $this->connection->fetchAssociative(
'SELECT
id,
Method getById
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public function getById(string $id): Option
{
$data = $this->connection->fetchAssociative(
'SELECT
id,