Passed
Push — develop ( 169afe...f2bd80 )
by Jens
02:39
created
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.
cloudcontrol/library/components/FormComponent.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
 	 * submitting the form
149 149
 	 *
150 150
 	 * @param $postValues
151
-	 * @param $storage
151
+	 * @param JsonStorage $storage
152 152
 	 */
153 153
 	protected function postSubmit($postValues, $storage)
154 154
 	{}
@@ -318,7 +318,7 @@  discard block
 block discarded – undo
318 318
 	}
319 319
 
320 320
 	/**
321
-	 * @param $form
321
+	 * @param string|null $form
322 322
 	 */
323 323
 	private function setFormParameter($form)
324 324
 	{
Please login to merge, or discard this patch.
cloudcontrol/library/components/cms/SearchRouting.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -58,6 +58,10 @@  discard block
 block discarded – undo
58 58
 		$cmsComponent->setParameter(CmsComponent::PARAMETER_MAIN_NAV_CLASS, CmsComponent::PARAMETER_SEARCH);
59 59
 	}
60 60
 
61
+	/**
62
+	 * @param \library\cc\Request $request
63
+	 * @param CmsComponent $cmsComponent
64
+	 */
61 65
 	private function ajaxUpdateIndexRoute($request, $cmsComponent)
62 66
 	{
63 67
 		$cmsComponent->subTemplate = 'cms/search/update-index';
@@ -93,6 +97,9 @@  discard block
 block discarded – undo
93 97
 		}
94 98
 	}
95 99
 
100
+	/**
101
+	 * @param string $obj
102
+	 */
96 103
 	private function showJson($obj, $httpHeader = 'HTTP/1.0 200 OK') {
97 104
 		header($_SERVER['SERVER_PROTOCOL'] . $httpHeader, true);
98 105
 		header('Content-type: application/json');
Please login to merge, or discard this patch.
cloudcontrol/library/search/CharacterFilter.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,9 +38,9 @@  discard block
 block discarded – undo
38 38
 	/**
39 39
 	 * Filter out all special characters, like punctuation and characters with accents
40 40
 	 *
41
-	 * @param $string
41
+	 * @param string $string
42 42
 	 *
43
-	 * @return mixed|string
43
+	 * @return string
44 44
 	 */
45 45
 	private function filterSpecialCharacters($string)
46 46
 	{
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 	}
74 74
 
75 75
 	/**
76
-	 * @return mixed|string
76
+	 * @return string
77 77
 	 */
78 78
 	public function getFilteredString()
79 79
 	{
Please login to merge, or discard this patch.
cloudcontrol/library/search/Indexer.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@  discard block
 block discarded – undo
124 124
 	}
125 125
 
126 126
 	/**
127
-	 * @return int|mixed
127
+	 * @return integer
128 128
 	 */
129 129
 	private function getTotalDocumentCount()
130 130
 	{
@@ -154,7 +154,7 @@  discard block
 block discarded – undo
154 154
 
155 155
 	/**
156 156
 	 * Adds a logline with the time since last log
157
-	 * @param $string
157
+	 * @param string $string
158 158
 	 */
159 159
 	private function addLog($string)
160 160
 	{
Please login to merge, or discard this patch.
cloudcontrol/library/search/indexer/TermCount.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -85,8 +85,8 @@
 block discarded – undo
85 85
 
86 86
 	/**
87 87
 	 * @param $values
88
-	 * @param $sql
89
-	 * @param $db
88
+	 * @param string $sql
89
+	 * @param resource $db
90 90
 	 *
91 91
 	 * @throws \Exception
92 92
 	 */
Please login to merge, or discard this patch.
cloudcontrol/library/search/Search.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -129,7 +129,7 @@
 block discarded – undo
129 129
 	 * Queries the search index for a given token
130 130
 	 * and the query norm.
131 131
 	 * @param $token
132
-	 * @param $queryNorm
132
+	 * @param integer $queryNorm
133 133
 	 *
134 134
 	 * @return array
135 135
 	 * @throws \Exception
Please login to merge, or discard this patch.