Skip to content

Commit

Permalink
code style
Browse files Browse the repository at this point in the history
  • Loading branch information
alterphp committed Jan 29, 2019
1 parent 665e22e commit 5d804af
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Model/ListFilter.php
Expand Up @@ -28,7 +28,7 @@ class ListFilter

private static $operatorValues = null;

public static function createFromRequest(string $property, $operator, $value)
public static function createFromRequest(string $property, string $operator, $value)
{
$listFilter = new static();

Expand All @@ -51,7 +51,7 @@ public static function getOperatorsList()
// Build $operatorValues if this is the first call
if (null === static::$operatorValues) {
static::$operatorValues = [];
$refClass = new \ReflectionClass(\get_called_class());
$refClass = new \ReflectionClass(static::class);
$classConstants = $refClass->getConstants();
$className = $refClass->getShortName();

Expand Down

0 comments on commit 5d804af

Please sign in to comment.