Completed
Push — master ( a01927...a2ac0c )
by
unknown
12s
created
code/Controller/AssetAdmin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -902,7 +902,7 @@
 block discarded – undo
902 902
      *
903 903
      * @param array $data
904 904
      * @param Form $form
905
-     * @return DBHTMLText|HTTPResponse
905
+     * @return null|HTTPResponse
906 906
      */
907 907
     public function addtocampaign($data, $form)
908 908
     {
Please login to merge, or discard this patch.
code/GraphQL/FolderTypeCreator.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,6 @@
 block discarded – undo
5 5
 use GraphQL\Type\Definition\ResolveInfo;
6 6
 use GraphQL\Type\Definition\Type;
7 7
 use SilverStripe\AssetAdmin\Controller\AssetAdminFile;
8
-use SilverStripe\AssetAdmin\Controller\AssetAdminFolder;
9 8
 use SilverStripe\Assets\File;
10 9
 use SilverStripe\Assets\Folder;
11 10
 use SilverStripe\ORM\Filterable;
Please login to merge, or discard this patch.
code/Controller/AssetAdminFile.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -208,7 +208,7 @@
 block discarded – undo
208 208
      *
209 209
      * @param int $parentID
210 210
      * @param int $maxDepth Hard limit of max depth
211
-     * @return array List of parent IDs, including $parentID
211
+     * @return integer[] List of parent IDs, including $parentID
212 212
      */
213 213
     public static function nestedFolderIDs($parentID, $maxDepth = 5)
214 214
     {
Please login to merge, or discard this patch.
code/GraphQL/ReadFileQueryCreator.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -51,6 +51,9 @@
 block discarded – undo
51 51
             ->setConnectionResolver(array($this, 'resolveConnection'));
52 52
     }
53 53
 
54
+    /**
55
+     * @param \GraphQL\Type\Definition\ResolveInfo $info
56
+     */
54 57
     public function resolveConnection($object, array $args, $context, $info)
55 58
     {
56 59
         $filter = (!empty($args['filter'])) ? $args['filter'] : [];
Please login to merge, or discard this patch.
tests/php/Forms/UploadFieldTest.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@
 block discarded – undo
8 8
 use SilverStripe\Assets\Image;
9 9
 use SilverStripe\Assets\Tests\Storage\AssetStoreTest\TestAssetStore;
10 10
 use SilverStripe\Control\Controller;
11
-use SilverStripe\Dev\Debug;
12 11
 use SilverStripe\Dev\SapphireTest;
13 12
 use SilverStripe\Forms\FieldList;
14 13
 use SilverStripe\Forms\Form;
Please login to merge, or discard this patch.
code/Forms/AssetFormFactory.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      * Get the validator for the form to be built
84 84
      *
85 85
      * @param RequestHandler $controller
86
-     * @param $formName
86
+     * @param string $formName
87 87
      * @param $context
88 88
      * @return RequiredFields
89 89
      */
@@ -151,7 +151,7 @@  discard block
 block discarded – undo
151 151
 
152 152
     /**
153 153
      * @param RequestHandler $controller
154
-     * @param $formName
154
+     * @param string $formName
155 155
      * @param array $context
156 156
      * @return FieldList
157 157
      */
@@ -231,7 +231,7 @@  discard block
 block discarded – undo
231 231
      * Get actions that go into the Popover menu
232 232
      *
233 233
      * @param File $record
234
-     * @return array
234
+     * @return string|null
235 235
      */
236 236
     protected function getPopoverActions($record)
237 237
     {
Please login to merge, or discard this patch.
code/Forms/RemoteFileFormFactory.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -77,6 +77,10 @@  discard block
 block discarded – undo
77 77
         return ['type'];
78 78
     }
79 79
 
80
+    /**
81
+     * @param null|RequestHandler $controller
82
+     * @param string $name
83
+     */
80 84
     protected function getFormFields($controller, $name, $context)
81 85
     {
82 86
         $formType = $context['type'];
@@ -90,6 +94,10 @@  discard block
 block discarded – undo
90 94
         }
91 95
     }
92 96
 
97
+    /**
98
+     * @param null|RequestHandler $controller
99
+     * @param string $name
100
+     */
93 101
     protected function getFormActions($controller, $name, $context)
94 102
     {
95 103
         $actions = [];
Please login to merge, or discard this patch.