Skip to content

Commit

Permalink
Merge pull request #4 from northys/php72_compatibility
Browse files Browse the repository at this point in the history
php 7.2 compatibility
  • Loading branch information
matej21 committed Feb 21, 2018
2 parents e73904c + b7095bd commit 89d548c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "librette/doctrine-sortable",
"type": "library",
"description": "Doctrine sortable entities for Nette framework.",
"keywords": ["nette", "librette", "doctrine", "sortable"],
"license": ["BSD-3-Clause", "GPL-2.0", "GPL-3.0"],
"authors": [
Expand All @@ -10,8 +11,8 @@
}
],
"require": {
"nette/utils": "~2.2",
"nette/di": "~2.2",
"nette/utils": "~2.4",
"nette/di": "~2.4",
"kdyby/doctrine": "@dev",
"kdyby/events": "@dev"
},
Expand Down
5 changes: 3 additions & 2 deletions src/SortableListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,14 @@
use Kdyby\Doctrine\EntityManager;
use Kdyby\Doctrine\QueryBuilder;
use Kdyby\Events\Subscriber;
use Nette\Object;
use Nette\SmartObject;

/**
* @author David Matejka
*/
class SortableListener extends Object implements Subscriber
class SortableListener implements Subscriber
{
use SmartObject;

/** @var \ReflectionProperty[] */
private $reflCache = [];
Expand Down

0 comments on commit 89d548c

Please sign in to comment.