Passed
Push — master ( 1eb022...c6efb5 )
by Jean
06:31
created
src/LogicalFilter.php 1 patch
Doc Comments   +5 added lines, -7 removed lines patch added patch discarded remove patch
@@ -568,7 +568,7 @@  discard block
 block discarded – undo
568 568
      *
569 569
      * @param $debug Provides a source oriented dump.
570 570
      *
571
-     * @return array A description of the rules.
571
+     * @return string A description of the rules.
572 572
      */
573 573
     public function toString(array $options=[])
574 574
     {
@@ -646,7 +646,7 @@  discard block
 block discarded – undo
646 646
      * @param  array|callable Associative array of renamings or callable
647 647
      *                        that would rename the fields.
648 648
      *
649
-     * @return string $this
649
+     * @return LogicalFilter $this
650 650
      */
651 651
     public function removeRules($filter)
652 652
     {
@@ -689,8 +689,8 @@  discard block
 block discarded – undo
689 689
      * @param  array|callable Associative array of renamings or callable
690 690
      *                        that would rename the fields.
691 691
      *
692
-     * @return array The rules matching the filter
693
-     * @return array $options debug | leaves_only | clean_empty_branches
692
+     * @return LogicalFilter The rules matching the filter
693
+     * @return LogicalFilter $options debug | leaves_only | clean_empty_branches
694 694
      *
695 695
      *
696 696
      * @todo Merge with rules
@@ -880,7 +880,6 @@  discard block
 block discarded – undo
880 880
     }
881 881
 
882 882
     /**
883
-     * @param bool  $exit=false
884 883
      * @param array $options    + callstack_depth=2 The level of the caller to dump
885 884
      *                          + mode='string' in 'export' | 'dump' | 'string'
886 885
      *
@@ -974,10 +973,9 @@  discard block
 block discarded – undo
974 973
      * Applies the current instance to a value (and its index optionnally).
975 974
      *
976 975
      * @param  mixed                  $value_to_check
977
-     * @param  scalar                 $index
978 976
      * @param  Filterer|callable|null $filterer
979 977
      *
980
-     * @return AbstractRule|false|true + False if the filter doesn't validates
978
+     * @return boolean + False if the filter doesn't validates
981 979
      *                                 + Null if the target has no sens (operation filtered by field for example)
982 980
      *                                 + A rule tree containing the first matching case if there is one.
983 981
      */
Please login to merge, or discard this patch.