Completed
Push — master ( b13c55...a7fdb4 )
by Ronaldo
09:08
created
src/Resources/BaseResource.php 2 patches
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -78,8 +78,8 @@  discard block
 block discarded – undo
78 78
 
79 79
 
80 80
     /**
81
-     * @param $key
82
-     * @param $value
81
+     * @param string $key
82
+     * @param integer $value
83 83
      */
84 84
     protected function setFieldDefault($key, $value)
85 85
     {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 
89 89
 
90 90
     /**
91
-     * @param null $key
91
+     * @param string $key
92 92
      * @return array|bool
93 93
      */
94 94
     protected function getFieldDefault($key = null)
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
 
116 116
 
117 117
     /**
118
-     * @param $id
118
+     * @param integer $id
119 119
      * @return object
120 120
      */
121 121
     public function find($id)
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -139,7 +139,7 @@  discard block
 block discarded – undo
139 139
         try {
140 140
             $this->find($id);
141 141
             return true;
142
-        } catch(LojaIntegradaException $e) {
142
+        } catch (LojaIntegradaException $e) {
143 143
             return false;
144 144
         }
145 145
     }
@@ -202,7 +202,7 @@  discard block
 block discarded – undo
202 202
         $outputErr = 'Some errors occurred:';
203 203
 
204 204
         foreach ($erros as $field => $message) {
205
-            $outputErr .= PHP_EOL . '[' . $field . '] ' . implode('', $message);
205
+            $outputErr .= PHP_EOL.'['.$field.'] '.implode('', $message);
206 206
         }
207 207
 
208 208
         throw new \InvalidArgumentException($outputErr);
Please login to merge, or discard this patch.