Completed
Push — master ( e58e1d...1199b9 )
by samayo
03:51
created
src/bulletproof.php 1 patch
Doc Comments   +3 added lines, -5 removed lines patch added patch discarded remove patch
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      *
122 122
      * @param mixed $offset
123 123
      *
124
-     * @return bool|mixed
124
+     * @return string|boolean
125 125
      */
126 126
     public function offsetGet($offset)
127 127
     {
@@ -140,8 +140,6 @@  discard block
 block discarded – undo
140 140
     /**
141 141
      * Renames image
142 142
      *
143
-     * @param null $isNameGiven if null, image will be auto-generated
144
-     *
145 143
      * @return $this
146 144
      */
147 145
     public function setName($isNameProvided = null)
@@ -318,7 +316,7 @@  discard block
 block discarded – undo
318 316
     /**
319 317
      * Returns error string or false if no errors occurred
320 318
      *
321
-     * @return string|bool
319
+     * @return string|false
322 320
      */
323 321
     public function getError(){
324 322
         return $this->error != "" ? $this->error : false;
@@ -430,7 +428,7 @@  discard block
 block discarded – undo
430 428
      * Final upload method to be called, isolated for testing purposes
431 429
      *
432 430
      * @param $tmp_name int the temporary location of the image file
433
-     * @param $destination int upload destination
431
+     * @param string $destination int upload destination
434 432
      *
435 433
      * @return bool
436 434
      */
Please login to merge, or discard this patch.