Completed
Push — master ( 0929bc...18a624 )
by Igor
01:49
created
src/actions/UploadAction.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
     /**
100 100
      * Upload
101 101
      *
102
-     * @param yii\web\UploadedFile $file
102
+     * @param UploadedFile $file
103 103
      * @return string JSON
104 104
      */
105 105
     private function upload($file)
Please login to merge, or discard this patch.
src/models/File.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -263,7 +263,7 @@
 block discarded – undo
263 263
      *
264 264
      * @param int $ownerId
265 265
      * @param int $ownerType
266
-     * @return File|null
266
+     * @return string
267 267
      */
268 268
     public static function findOneByOwner($ownerId, $ownerType)
269 269
     {
Please login to merge, or discard this patch.
src/behaviors/FileBehavior.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -102,6 +102,9 @@
 block discarded – undo
102 102
         }
103 103
     }
104 104
 
105
+    /**
106
+     * @param integer $ownerType
107
+     */
105 108
     private function binding($data, $attribute, $storage, $ownerId, $ownerType, $fileId)
106 109
     {
107 110
         if ($this->isMultiple($attribute)) {
Please login to merge, or discard this patch.