Passed
Push — master ( 333d57...1a2f46 )
by Jens
19:09 queued 16:10
created
src/components/cms/DocumentRouting.php 1 patch
Doc Comments   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     }
55 55
 
56 56
     /**
57
-     * @param $request
57
+     * @param Request $request
58 58
      * @param CmsComponent $cmsComponent
59 59
      *
60 60
      * @throws \Exception
@@ -89,7 +89,7 @@  discard block
 block discarded – undo
89 89
     }
90 90
 
91 91
     /**
92
-     * @param $request
92
+     * @param Request $request
93 93
      * @param CmsComponent $cmsComponent
94 94
      */
95 95
     private function editDocumentRoute($request, $cmsComponent)
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
     }
120 120
 
121 121
     /**
122
-     * @param $request
122
+     * @param Request $request
123 123
      * @param CmsComponent $cmsComponent
124 124
      */
125 125
     private function getBrickRoute($request, $cmsComponent)
@@ -140,7 +140,7 @@  discard block
 block discarded – undo
140 140
     }
141 141
 
142 142
     /**
143
-     * @param $request
143
+     * @param Request $request
144 144
      * @param CmsComponent $cmsComponent
145 145
      */
146 146
     private function deleteDocumentRoute($request, $cmsComponent)
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
     }
153 153
 
154 154
     /**
155
-     * @param $request
155
+     * @param Request $request
156 156
      * @param CmsComponent $cmsComponent
157 157
      */
158 158
     private function publishDocumentRoute($request, $cmsComponent)
@@ -166,7 +166,7 @@  discard block
 block discarded – undo
166 166
     }
167 167
 
168 168
     /**
169
-     * @param $request
169
+     * @param Request $request
170 170
      * @param CmsComponent $cmsComponent
171 171
      */
172 172
     private function unpublishDocumentRoute($request, $cmsComponent)
Please login to merge, or discard this patch.
src/components/cms/ImagesRouting.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
     /**
18 18
      * ImagesRouting constructor.
19 19
      * @param \CloudControl\Cms\cc\Request $request
20
-     * @param mixed|string $relativeCmsUri
20
+     * @param string $relativeCmsUri
21 21
      * @param CmsComponent $cmsComponent
22 22
      */
23 23
     public function __construct(Request $request, $relativeCmsUri, CmsComponent $cmsComponent)
Please login to merge, or discard this patch.
src/components/cms/SitemapRouting.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
     /**
19 19
      * SitemapRouting constructor.
20 20
      * @param \CloudControl\Cms\cc\Request $request
21
-     * @param mixed|string $relativeCmsUri
21
+     * @param string $relativeCmsUri
22 22
      * @param CmsComponent $cmsComponent
23 23
      */
24 24
     public function __construct(Request $request, $relativeCmsUri, CmsComponent $cmsComponent)
Please login to merge, or discard this patch.
src/components/LanguageComponent.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,8 +124,8 @@
 block discarded – undo
124 124
     }
125 125
 
126 126
     /**
127
-     * @param $lang
128
-     * @param $request
127
+     * @param string $lang
128
+     * @param Request $request
129 129
      */
130 130
     protected function checkForceRedirect($lang, $request)
131 131
     {
Please login to merge, or discard this patch.
src/storage/storage/ImagesStorage.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
     /**
43 43
      * @param $postValues
44 44
      *
45
-     * @return \stdClass
45
+     * @return \CloudControl\Cms\storage\entities\Image
46 46
      * @throws \Exception
47 47
      */
48 48
     public function addImage($postValues)
Please login to merge, or discard this patch.
src/components/BaseComponent.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
          * @param null | Application $application
97 97
          * @param Application $application
98 98
          *
99
-         * @return mixed|string
99
+         * @return string|null
100 100
          * @throws \Exception
101 101
          */
102 102
         public function renderTemplate($template = '', $obClean = true, $application = null)
@@ -141,8 +141,9 @@  discard block
 block discarded – undo
141 141
         }
142 142
 
143 143
         /**
144
-         * @param $template
144
+         * @param string $template
145 145
          * @param null | Application $application
146
+         * @param Application $application
146 147
          * @return string
147 148
          */
148 149
         protected function getTemplateDir($template, $application = null)
Please login to merge, or discard this patch.
src/storage/Cache.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@  discard block
 block discarded – undo
35 35
         return self::$instance;
36 36
     }
37 37
 
38
+    /**
39
+     * @param string $path
40
+     */
38 41
     public function getCacheForPath($path)
39 42
     {
40 43
         $dbInstace = $this->getDbInstance();
@@ -77,6 +80,9 @@  discard block
 block discarded – undo
77 80
         $db->exec($sql);
78 81
     }
79 82
 
83
+    /**
84
+     * @param string $requestUri
85
+     */
80 86
     public function setCacheForPath($requestUri, $renderedContent)
81 87
     {
82 88
         $dbInstace = $this->getDbInstance();
Please login to merge, or discard this patch.