Passed
Push — develop ( 6a6eba...0a5a6b )
by Jens
15:23 queued 09:46
created
cloudcontrol/library/cc/Application.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 		 * Loop through sitemap items and see if one matches the requestUri.
89 89
 		 * If it does, add it tot the matchedSitemapItems array
90 90
 		 *
91
-		 * @param $request
91
+		 * @param Request $request
92 92
 		 */
93 93
 		private function sitemapMatching($request)
94 94
 		{
@@ -150,7 +150,7 @@  discard block
 block discarded – undo
150 150
 		 * @param string $template
151 151
 		 * @param array  $parameters
152 152
 		 *
153
-		 * @return mixed
153
+		 * @return Component
154 154
 		 * @throws \Exception
155 155
 		 */
156 156
 		private function getComponentObject($class='', $template='', $parameters=array(), $matchedSitemapItem)
Please login to merge, or discard this patch.
cloudcontrol/library/cc/cc.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
  * @param array  $replace
112 112
  * @param string $delimiter
113 113
  *
114
- * @return mixed|string
114
+ * @return string
115 115
  */
116 116
 function slugify($str, $replace=array(), $delimiter='-') {
117 117
 	if( !empty($replace) ) {
@@ -130,7 +130,6 @@  discard block
 block discarded – undo
130 130
  * Dumps a var_dump of the passed arguments with <pre> tags surrounding it.
131 131
  * Dies afterwards
132 132
  *
133
- * @param mixed $data    The data to be displayed
134 133
  */
135 134
 function dump()
136 135
 {
Please login to merge, or discard this patch.
cloudcontrol/library/storage/JsonStorage.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@  discard block
 block discarded – undo
17 17
 		/**
18 18
 		 * JsonStorage constructor.
19 19
 		 *
20
-		 * @param $storagePath
20
+		 * @param string $storagePath
21 21
 		 */
22 22
 		public function __construct($storagePath)
23 23
 		{
@@ -837,6 +837,9 @@  discard block
 block discarded – undo
837 837
 			}
838 838
 		}
839 839
 
840
+		/**
841
+		 * @param string $path
842
+		 */
840 843
 		private function validateFilename($filename, $path)
841 844
 		{
842 845
 			$fileParts = explode('.', $filename);
Please login to merge, or discard this patch.
cloudcontrol/library/images/Image.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@
 block discarded – undo
74 74
 		 * @see http://www.php.net/manual/en/function.image-type-to-mime-type.php
75 75
 		 * @param string $imagePath
76 76
 		 * @param bool $getExtension
77
-		 * @return bool|int|string
77
+		 * @return integer
78 78
 		 */
79 79
 		public function GetImageMimeType($imagePath, $getExtension = false)
80 80
 		{
Please login to merge, or discard this patch.
cloudcontrol/library/components/LanguageComponent.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
     /**
106 106
      * Detect if the language is switched manually
107 107
      *
108
-     * @param $request
108
+     * @param Request $request
109 109
      */
110 110
     private function checkLanguageSwitch($request)
111 111
     {
Please login to merge, or discard this patch.