Commit 5cf6c80a authored by Juan Manuel Solaro's avatar Juan Manuel Solaro
Browse files

(fix) lint fixes

parent 34c8b96b
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@ use Minds\Core\Feeds\Scheduled\EntityTimeCreated;

class TimeCreatedDelegate
{

    /** @var Core\Feeds\Scheduled\EntityTimeCreated $entityTimeCreated */
    protected $entityTimeCreated;

@@ -46,5 +45,4 @@ class TimeCreatedDelegate
        $this->entityTimeCreated->validate($entity, $time_created, $time_sent);
        return true;
    }

}
+0 −2
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@ use Minds\Core\Feeds\Scheduled\EntityTimeCreated;

class TimeCreatedDelegate
{

    /** @var Core\Feeds\Scheduled\EntityTimeCreated $entityTimeCreated */
    protected $entityTimeCreated;

@@ -46,5 +45,4 @@ class TimeCreatedDelegate
        $this->entityTimeCreated->validate($entity, $time_created, $time_sent);
        return true;
    }

}
+2 −3
Original line number Diff line number Diff line
@@ -10,7 +10,6 @@ class EntityTimeCreated
     */
    public function __construct()
    {

    }

    public function validate($entity, $time_created, $time_sent)
+1 −3
Original line number Diff line number Diff line
@@ -9,8 +9,7 @@ class Manager

    public function __construct(
        $repository = null
    )
    {
    ) {
        $this->repository = $repository ?: new Repository;
    }

@@ -22,5 +21,4 @@ class Manager
    {
        return $this->repository->getScheduledCount($opts) ;
    }

}
+0 −1
Original line number Diff line number Diff line
@@ -71,5 +71,4 @@ class Repository

        return $result['count'] ?? 0;
    }

}
Loading