Passed
Pull Request — master (#3)
by Abdul
02:31
created
src/Contracts/Helpers/ValidationFacadeInterface.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -10,6 +10,7 @@
 block discarded – undo
10 10
      * @param ValidationProviderInterface $validationProvider
11 11
      * @param ValidationResultProcessorInterface $validationResultProcessor
12 12
      * @param RulesFactoryInterface $rulesFactory
13
+     * @return void
13 14
      */
14 15
     public function __construct(
15 16
         ValidationProviderInterface $validationProvider,
Please login to merge, or discard this patch.
src/Helpers/ValidationResultProcessor.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,6 @@
 block discarded – undo
23 23
     public $fieldsErrorBag = null;
24 24
 
25 25
     /**
26
-     * @param ValidationProviderInterface $validationProvider
27 26
      * @param array $userMessages
28 27
      */
29 28
     public function __construct(
Please login to merge, or discard this patch.
src/Rules/BaseRule.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
     /**
52 52
      * Validator calls captured and remapped here.
53 53
      *
54
-     * @return object Validator rule object.
54
+     * @return BaseRule Validator rule object.
55 55
      */
56 56
     public function __call($method, array $params = array())
57 57
     {
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      *
88 88
      * @param string $type
89 89
      *
90
-     * @return array
90
+     * @return string
91 91
      */
92 92
     public function getConfig($type = self::CONFIG_ALL)
93 93
     {
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
     /**
102 102
      * If field has specific rule.
103 103
      *
104
-     * @param $rule
104
+     * @param string $rule
105 105
      *
106 106
      * @return bool
107 107
      */
Please login to merge, or discard this patch.
src/Validator.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -94,7 +94,6 @@  discard block
 block discarded – undo
94 94
      *
95 95
      * @param array $data user request data
96 96
      * @param array $rules validation rules
97
-     * @param array $userMessages custom error messages
98 97
      *
99 98
      * @return ValidatorRule
100 99
      */
@@ -159,7 +158,7 @@  discard block
 block discarded – undo
159 158
      *
160 159
      * @param array $data
161 160
      *
162
-     * @return array
161
+     * @return string
163 162
      */
164 163
     private function prepareData(array $data)
165 164
     {
Please login to merge, or discard this patch.