@@ -124,6 +124,9 @@ |
||
124 | 124 | return (boolean)preg_match('/^[^\\/]?[^\\?\\*:;{}\\\\\\n]+[^\\/]$/us', $id); |
125 | 125 | } |
126 | 126 | |
127 | + /** |
|
128 | + * @param string $dir |
|
129 | + */ |
|
127 | 130 | protected function getFilesRecursive($dir, array &$result, $ext) |
128 | 131 | { |
129 | 132 | $extensionLength = strlen($ext) + 1; // one is for the dot! |
@@ -35,6 +35,10 @@ discard block |
||
35 | 35 | return $this; |
36 | 36 | } |
37 | 37 | |
38 | + /** |
|
39 | + * @param string $operator |
|
40 | + * @param string $value |
|
41 | + */ |
|
38 | 42 | public function orWhere($field, $operator = null, $value = null) |
39 | 43 | { |
40 | 44 | $this->addPredicate(self::LOGICAL_OR, $field, $operator, $value); |
@@ -42,6 +46,9 @@ discard block |
||
42 | 46 | return $this; |
43 | 47 | } |
44 | 48 | |
49 | + /** |
|
50 | + * @param string $type |
|
51 | + */ |
|
45 | 52 | protected function addPredicate($type, $field, $operator = null, $value = null) |
46 | 53 | { |
47 | 54 | if (!$this->predicates) { |