Skip to content

Commit

Permalink
Set the resource controller to null by default
Browse files Browse the repository at this point in the history
  • Loading branch information
mewejo committed Jul 15, 2020
1 parent 807b013 commit 1ea83e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/Resource.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ abstract class Resource implements ResourceInterface
protected $attributes = [];

/**
* @var ResourceControllerInterface $resourceController
* @var ResourceControllerInterface|null $resourceController
*/
protected $resourceController;
protected $resourceController = null;

public static function getName()
{
Expand Down

0 comments on commit 1ea83e5

Please sign in to comment.