Skip to content

Commit

Permalink
Make property public (sonata-project#1401)
Browse files Browse the repository at this point in the history
  • Loading branch information
franmomu authored Apr 8, 2021
1 parent e93a43b commit 4186a05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tests/App/Admin/SubAdmin.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
*/
final class SubAdmin extends AbstractAdmin
{
protected function configureListFields(ListMapper $list)
protected function configureListFields(ListMapper $list): void
{
$list->addIdentifier('id');
$list->add('otherField');
Expand Down
2 changes: 1 addition & 1 deletion tests/App/Entity/Sub.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@ class Sub extends Base
*
* @var string
*/
private $otherField = 'HELLO WORLD';
public $otherField = 'HELLO WORLD';
}

0 comments on commit 4186a05

Please sign in to comment.