Skip to content

Commit

Permalink
Fixed for PHP 7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mesour committed Jan 22, 2019
1 parent 0ec8b04 commit cdbd615
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 13 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -4,6 +4,7 @@ php:
- 5.6
- 7.0
- 7.1
- 7.2
- hhvm

matrix:
Expand Down
20 changes: 10 additions & 10 deletions composer.json
Expand Up @@ -10,17 +10,17 @@
}],
"require": {
"php": ">=5.6.0",
"mesour/components": "~3.1.0",
"mesour/button": "~3.1.0",
"mesour/dropdown": "~3.1.0",
"mesour/editable": "~3.1.0",
"mesour/filter": "~3.1.0",
"mesour/icon": "~3.1.0",
"mesour/pager": "~3.1.0",
"mesour/selection": "~3.1.0",
"mesour/components": "~3.2.0",
"mesour/button": "~3.2.0",
"mesour/dropdown": "~3.2.0",
"mesour/editable": "~3.2.0",
"mesour/filter": "~3.2.0",
"mesour/icon": "~3.2.0",
"mesour/pager": "~3.2.0",
"mesour/selection": "~3.2.0",
"mesour/sources": "~3.0.0",
"mesour/template": "~3.1.0",
"mesour/table": "~3.1.0"
"mesour/template": "~3.2.0",
"mesour/table": "~3.2.0"
},
"require-dev": {
"tracy/tracy": "~2.4.0",
Expand Down
4 changes: 3 additions & 1 deletion src/Mesour/DataGrid/Extensions/Selection/Link.php
Expand Up @@ -16,9 +16,11 @@
*
* @method null onCall($items)
*/
class Link extends Mesour\Object
class Link
{

use Mesour\SmartObject;

private $name;

private $fixed_name;
Expand Down
4 changes: 3 additions & 1 deletion src/Mesour/DataGrid/Extensions/Selection/Links.php
Expand Up @@ -14,9 +14,11 @@
/**
* @author Matouš Němec <matous.nemec@mesour.com>
*/
class Links extends Mesour\Object implements Mesour\Components\Utils\IString
class Links implements Mesour\Components\Utils\IString
{

use Mesour\SmartObject;

/**
* @var Mesour\Components\Control\IControl|Mesour\Components\Localization\Translatable
*/
Expand Down
4 changes: 3 additions & 1 deletion src/Mesour/DataGrid/Extensions/SubItem/Items/Item.php
Expand Up @@ -14,9 +14,11 @@
/**
* @author Matouš Němec <matous.nemec@mesour.com>
*/
abstract class Item extends Mesour\Object
abstract class Item
{

use Mesour\SmartObject;

const DEFAULT_COUNT = 20;

/** @var Mesour\DataGrid\Extensions\SubItem\ISubItem */
Expand Down

0 comments on commit cdbd615

Please sign in to comment.