diff options
author | Christian Raue <christian.raue@gmail.com> | 2014-07-10 17:45:54 +0400 |
---|---|---|
committer | Christian Raue <christian.raue@gmail.com> | 2014-07-15 14:16:49 +0400 |
commit | 317bd7e175f04e09cfb6b42f4a282068524df4e0 (patch) | |
tree | 2a6c8bc07bc806229bb7f8dc035198e745b34efb /core/DataTable/Filter/Pattern.php | |
parent | f6de9efc06b11e067fe4f866377a94996628f796 (diff) |
fixed method signatures
Diffstat (limited to 'core/DataTable/Filter/Pattern.php')
-rw-r--r-- | core/DataTable/Filter/Pattern.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/DataTable/Filter/Pattern.php b/core/DataTable/Filter/Pattern.php index 99caf7a234..94893e6d9e 100644 --- a/core/DataTable/Filter/Pattern.php +++ b/core/DataTable/Filter/Pattern.php @@ -53,7 +53,7 @@ class Pattern extends BaseFilter * @return string * @ignore */ - static public function getPatternQuoted($pattern) + public static function getPatternQuoted($pattern) { return '/' . str_replace('/', '\/', $pattern) . '/'; } @@ -67,7 +67,7 @@ class Pattern extends BaseFilter * @return int * @ignore */ - static public function match($patternQuoted, $string, $invertedMatch = false) + public static function match($patternQuoted, $string, $invertedMatch = false) { return preg_match($patternQuoted . "i", $string) == 1 ^ $invertedMatch; } |