Skip to content

Commit

Permalink
Fix compatibility with PHP 7.2, uncompatible with nette 2.3 and less.
Browse files Browse the repository at this point in the history
  • Loading branch information
mlazovla committed Feb 14, 2018
1 parent 0b96a8b commit 76ae797
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"issues": "https://github.com/XRuff/Navigation/issues"
},
"require": {
"nette/application": "~2.3",
"nette/component-model": "~2.2"
"nette/application": "~2.4",
"nette/component-model": "~2.3"
},
"require-dev": {
"nette/application": "~2.3",
"nette/component-model": "~2.2",
"nette/application": "~2.4",
"nette/component-model": "~2.3",
"vanio/coding-standards": "^0.1@dev"
},
"autoload": {
Expand Down
6 changes: 4 additions & 2 deletions src/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,12 @@

namespace XRuff\Components\Navigation;

use Nette\Object;
use Nette\SmartObject;

class Configuration extends Object
class Configuration
{
use SmartObject;

/** @var string $shortSession */
public $shortSession;

Expand Down

0 comments on commit 76ae797

Please sign in to comment.