Completed
Push — master ( 6eca93...9f9659 )
by Adrian
03:12
created
src/Filter/NormalizeDate.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/FilterSet.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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 */
Please login to merge, or discard this patch.
src/Utils.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -8,6 +8,9 @@
 block discarded – undo
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) {
Please login to merge, or discard this patch.