@@ -20,6 +20,9 @@ |
||
20 | 20 | return date($this->options['output_format'], $timestamp); |
21 | 21 | } |
22 | 22 | |
23 | + /** |
|
24 | + * @param string $string |
|
25 | + */ |
|
23 | 26 | protected function parseDateFromString($string, $format) |
24 | 27 | { |
25 | 28 | $result = date_parse_from_format($format, $string); |
@@ -66,7 +66,7 @@ discard block |
||
66 | 66 | * Get a valid priority number to attach to a filter |
67 | 67 | * |
68 | 68 | * @param int $desiredPriority |
69 | - * @return number |
|
69 | + * @return integer |
|
70 | 70 | */ |
71 | 71 | protected function getValidPriority($desiredPriority) |
72 | 72 | { |
@@ -87,6 +87,9 @@ discard block |
||
87 | 87 | return $desiredPriority; |
88 | 88 | } |
89 | 89 | |
90 | + /** |
|
91 | + * @param string $valueIdentifier |
|
92 | + */ |
|
90 | 93 | function applyFilters($value, $valueIdentifier = null, $context = null) { |
91 | 94 | foreach (clone $this as $filter) { |
92 | 95 | /* @var $filter \Sirius\Filtration\Filter\AbstractFilter */ |
@@ -8,6 +8,9 @@ |
||
8 | 8 | |
9 | 9 | class Utils { |
10 | 10 | |
11 | + /** |
|
12 | + * @param string $selector |
|
13 | + */ |
|
11 | 14 | protected static function getSelectorParts($selector) { |
12 | 15 | $firstOpen = strpos($selector, '['); |
13 | 16 | if ($firstOpen === false) { |