Passed
Push — develop ( b4f08b...3d11b3 )
by Jens
05:00
created
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   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     }
40 40
 
41 41
     /**
42
-     * @param $path
42
+     * @param string $path
43 43
      * @return \stdClass
44 44
      */
45 45
     public function getCacheForPath($path)
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
     }
115 115
 
116 116
     /**
117
-     * @param $requestUri
117
+     * @param string $requestUri
118 118
      * @param $renderedContent
119 119
      */
120 120
     public function setCacheForPath($requestUri, $renderedContent)
Please login to merge, or discard this patch.
src/components/cms/DocumentRouting.php 1 patch
Doc Comments   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
     }
57 57
 
58 58
     /**
59
-     * @param $request
59
+     * @param Request $request
60 60
      * @param CmsComponent $cmsComponent
61 61
      *
62 62
      * @throws \Exception
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
     }
92 92
 
93 93
     /**
94
-     * @param $request
94
+     * @param Request $request
95 95
      * @param CmsComponent $cmsComponent
96 96
      * @throws \Exception
97 97
      */
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
     }
127 127
 
128 128
     /**
129
-     * @param $request
129
+     * @param Request $request
130 130
      * @param CmsComponent $cmsComponent
131 131
      * @throws \Exception
132 132
      */
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
     }
149 149
 
150 150
     /**
151
-     * @param $request
151
+     * @param Request $request
152 152
      * @param CmsComponent $cmsComponent
153 153
      */
154 154
     private function deleteDocumentRoute($request, $cmsComponent)
@@ -160,7 +160,7 @@  discard block
 block discarded – undo
160 160
     }
161 161
 
162 162
     /**
163
-     * @param $request
163
+     * @param Request $request
164 164
      * @param CmsComponent $cmsComponent
165 165
      */
166 166
     private function publishDocumentRoute($request, $cmsComponent)
@@ -171,7 +171,7 @@  discard block
 block discarded – undo
171 171
     }
172 172
 
173 173
     /**
174
-     * @param $request
174
+     * @param Request $request
175 175
      * @param CmsComponent $cmsComponent
176 176
      */
177 177
     private function unpublishDocumentRoute($request, $cmsComponent)
@@ -225,7 +225,7 @@  discard block
 block discarded – undo
225 225
 
226 226
     /**
227 227
      * @param $request
228
-     * @param $cmsComponent
228
+     * @param CmsComponent $cmsComponent
229 229
      * @param string $param
230 230
      */
231 231
     private function doAfterPublishRedirect($request, $cmsComponent, $param = 'published')
@@ -240,7 +240,7 @@  discard block
 block discarded – undo
240 240
 
241 241
     /**
242 242
      * @param $request
243
-     * @param $cmsComponent
243
+     * @param CmsComponent $cmsComponent
244 244
      * @param string $icon
245 245
      * @param string $activity
246 246
      */
Please login to merge, or discard this patch.