Passed
Push — develop ( 9c6499...a5e1bf )
by Jens
02:46
created
src/cc/Application.php 1 patch
Doc Comments   +8 added lines, -2 removed lines patch added patch discarded remove patch
@@ -83,6 +83,9 @@  discard block
 block discarded – undo
83 83
             $this->storage = new Storage($this->getStorageDir(), $this->config->imagesDir, $this->config->filesDir);
84 84
         }
85 85
 
86
+        /**
87
+         * @param Request $request
88
+         */
86 89
         private function redirectMatching($request)
87 90
         {
88 91
             $redirects = $this->storage->getRedirects()->getRedirects();
@@ -112,7 +115,7 @@  discard block
 block discarded – undo
112 115
          * Loop through sitemap items and see if one matches the requestUri.
113 116
          * If it does, add it tot the matchedSitemapItems array
114 117
          *
115
-         * @param $request
118
+         * @param Request $request
116 119
          */
117 120
         private function sitemapMatching($request)
118 121
         {
@@ -177,7 +180,7 @@  discard block
 block discarded – undo
177 180
          * @param array $parameters
178 181
          * @param \stdClass|null $matchedSitemapItem
179 182
          *
180
-         * @return mixed
183
+         * @return Component
181 184
          * @throws \Exception
182 185
          */
183 186
         private function getComponentObject($class = '', $template = '', $parameters = array(), $matchedSitemapItem)
@@ -268,6 +271,9 @@  discard block
 block discarded – undo
268 271
             return $this->config->templateDir;
269 272
         }
270 273
 
274
+        /**
275
+         * @return string
276
+         */
271 277
         public function getStorageDir()
272 278
         {
273 279
             return $this->config->storageDir;
Please login to merge, or discard this patch.
src/components/BaseComponent.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -141,8 +141,8 @@
 block discarded – undo
141 141
 		}
142 142
 
143 143
         /**
144
-         * @param $template
145
-         * @param null $application
144
+         * @param string $template
145
+         * @param null|Application $application
146 146
          * @return string
147 147
          */
148 148
         protected function getTemplatePath($template, $application=null)
Please login to merge, or discard this patch.
src/components/FormComponent.php 1 patch
Doc Comments   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -180,7 +180,7 @@  discard block
 block discarded – undo
180 180
 	}
181 181
 
182 182
 	/**
183
-	 * @param \cc\Request $request
183
+	 * @param \CloudControl\Cms\cc\Request $request
184 184
 	 * @return array
185 185
 	 */
186 186
 	private function getPostValues($request)
@@ -291,7 +291,7 @@  discard block
 block discarded – undo
291 291
 	}
292 292
 
293 293
 	/**
294
-	 * @return \cc\Request
294
+	 * @return \CloudControl\Cms\cc\Request
295 295
 	 */
296 296
 	private function setPathBackup()
297 297
 	{
@@ -305,7 +305,7 @@  discard block
 block discarded – undo
305 305
 	}
306 306
 
307 307
 	/**
308
-	 * @param \cc\Request $request
308
+	 * @param \CloudControl\Cms\cc\Request $request
309 309
 	 */
310 310
 	private function resetPathBackup($request)
311 311
 	{
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
 	}
318 318
 
319 319
 	/**
320
-	 * @param $form
320
+	 * @param string|null $form
321 321
 	 */
322 322
 	private function setFormParameter($form)
323 323
 	{
Please login to merge, or discard this patch.
src/storage/storage/ImagesStorage.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -13,6 +13,10 @@
 block discarded – undo
13 13
 {
14 14
     protected $imagesDir;
15 15
 
16
+    /**
17
+     * @param \CloudControl\Cms\storage\Repository $repository
18
+     * @param string $imagesDir
19
+     */
16 20
     public function __construct($repository, $imagesDir)
17 21
     {
18 22
         parent::__construct($repository);
Please login to merge, or discard this patch.