Completed
Branch master (96e8d2)
by judicael
07:21 queued 03:32
created
bundles/core/UrlManager.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 	 * @access public
43 43
 	 * @param  string $sCode code of the url between "routes" and "route" in Route.conf
44 44
 	 * @param  array $aParams parameters to create the url
45
-	 * @return void
45
+	 * @return string
46 46
 	 *
47 47
 	 * @tutorial	If I have this route I could make my URL:
48 48
 	 *
Please login to merge, or discard this patch.
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -96,12 +96,10 @@
 block discarded – undo
96 96
 
97 97
 										if (preg_match('#'.$sType.'#', $aParams[$sName])) {
98 98
 
99
-											if ($aParams[$sName]) { $sRoute = str_replace('[/:'.$sName.']', '/'.$aParams[$sName], $sRoute); }
100
-											else { $sRoute = str_replace('[/:'.$sName.']', '', $sRoute); }
99
+											if ($aParams[$sName]) { $sRoute = str_replace('[/:'.$sName.']', '/'.$aParams[$sName], $sRoute); } else { $sRoute = str_replace('[/:'.$sName.']', '', $sRoute); }
101 100
 											$sRoute = str_replace('[:'.$sName.']', $aParams[$sName], $sRoute);
102 101
 											continue;
103
-										}
104
-										else if (isset($oRoute->defaults_constraints) 
102
+										} else if (isset($oRoute->defaults_constraints) 
105 103
 											&& isset($oRoute->defaults_constraints->{$sName}) 
106 104
 											&& preg_match('#'.$sType.'#', $oRoute->defaults_constraints->{$sName})) {
107 105
 
Please login to merge, or discard this patch.
bundles/ext/facebook/base_facebook.php 2 patches
Doc Comments   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -503,7 +503,7 @@  discard block
 block discarded – undo
503 503
    * Get the UID of the connected user, or 0
504 504
    * if the Facebook user is not connected.
505 505
    *
506
-   * @return string the UID if available.
506
+   * @return integer the UID if available.
507 507
    */
508 508
   public function getUser() {
509 509
     if ($this->user !== null) {
@@ -757,6 +757,7 @@  discard block
 block discarded – undo
757 757
    * either logged in to Facebook or has granted an offline access permission.
758 758
    *
759 759
    * @param string $code An authorization code.
760
+   * @param string $redirect_uri
760 761
    * @return mixed An access token exchanged for the authorization code, or
761 762
    *               false if an access token could not be generated.
762 763
    */
@@ -1135,7 +1136,7 @@  discard block
 block discarded – undo
1135 1136
   /**
1136 1137
    * Build the URL for given domain alias, path and parameters.
1137 1138
    *
1138
-   * @param $name string The name of the domain
1139
+   * @param string $name string The name of the domain
1139 1140
    * @param $path string Optional path (without a leading slash)
1140 1141
    * @param $params array Optional query parameters
1141 1142
    *
@@ -1402,6 +1403,9 @@  discard block
 block discarded – undo
1402 1403
     return self::endsWith($big, '.'.$small);
1403 1404
   }
1404 1405
 
1406
+  /**
1407
+   * @param string $small
1408
+   */
1405 1409
   protected static function endsWith($big, $small) {
1406 1410
     $len = strlen($small);
1407 1411
     if ($len === 0) {
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -361,8 +361,7 @@
 block discarded – undo
361 361
           'fb_exchange_token' => $this->getAccessToken(),
362 362
         )
363 363
       );
364
-    }
365
-    catch (FacebookApiException $e) {
364
+    } catch (FacebookApiException $e) {
366 365
       // most likely that user very recently revoked authorization.
367 366
       // In any event, we don't have an access token, so say so.
368 367
       return false;
Please login to merge, or discard this patch.
bundles/ext/facebook/facebook.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -150,6 +150,9 @@
 block discarded – undo
150 150
     return self::FBSS_COOKIE_NAME . '_' . $this->getAppId();
151 151
   }
152 152
 
153
+  /**
154
+   * @param string $key
155
+   */
153 156
   protected function constructSessionVariableName($key) {
154 157
     $parts = array('fb', $this->getAppId(), $key);
155 158
     if ($this->sharedSessionID) {
Please login to merge, or discard this patch.
bundles/lib/Cache/Mock.php 1 patch
Doc Comments   +5 added lines, -6 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
 	 * @param  string $sName name of the session
38 38
 	 * @param  int $iFlags flags
39 39
 	 * @param  int $iTimeout expiration of cache
40
-	 * @return mixed
40
+	 * @return boolean
41 41
 	 */
42 42
 	public function get(string $sName, int &$iFlags = null, int $iTimeout = 0)
43 43
 	{ 
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
 	 * @param  mixed $mValue value of this sesion var
53 53
 	 * @param  int $iFlag unused
54 54
 	 * @param  int $iExpire expiration of cache
55
-	 * @return \Venus\lib\Cache\Apc
55
+	 * @return boolean
56 56
 	 */
57 57
 	public function set(string $sName, $mValue, int $iFlag = 0, int $iExpire = false)
58 58
 	{ 
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
 	 * flush the cache
64 64
 	 *
65 65
 	 * @access public
66
-	 * @return mixed
66
+	 * @return boolean
67 67
 	 */
68 68
 	public function flush()
69 69
 	{
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 	 *
76 76
 	 * @access public
77 77
 	 * @param  string $sName name of the session
78
-	 * @return mixed
78
+	 * @return boolean
79 79
 	 */
80 80
 	public function delete(string $sName)
81 81
 	{
@@ -88,9 +88,8 @@  discard block
 block discarded – undo
88 88
 	 * @access public
89 89
 	 * @param  string $sName name of the session
90 90
 	 * @param  mixed $mValue value of this sesion var
91
-	 * @param  int $iFlag unused
92 91
 	 * @param  int $iExpire expiration of cache
93
-	 * @return mixed
92
+	 * @return boolean
94 93
 	 */
95 94
 	public function add($sName, $mValue, $iExpire = false)
96 95
 	{ 
Please login to merge, or discard this patch.
bundles/lib/Date.php 2 patches
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -192,8 +192,6 @@
 block discarded – undo
192 192
 	 * set name of image
193 193
 	 *
194 194
 	 * @access public
195
-	 * @param  int $iWeek number of week
196
-	 * @param  int $iYear year
197 195
 	 * @return array
198 196
 	 */
199 197
 	public static function getActualMiddleWeek() : array
Please login to merge, or discard this patch.
Braces   +9 added lines, -33 removed lines patch added patch discarded remove patch
@@ -43,11 +43,9 @@  discard block
 block discarded – undo
43 43
 	{
44 44
 		$iFirstDayInYear = date("N",mktime(0, 0, 0, 1, 1, $iYear));
45 45
 
46
-		if ($iFirstDayInYear < 5) { $iShift = -($iFirstDayInYear - 1) * 86400; }
47
-		else { $iShift = (8 - $iFirstDayInYear) * 86400; }
46
+		if ($iFirstDayInYear < 5) { $iShift = -($iFirstDayInYear - 1) * 86400; } else { $iShift = (8 - $iFirstDayInYear) * 86400; }
48 47
 
49
-		if ($iWeek > 1) { $iWeekInSeconds = ($iWeek-1) * 604800; }
50
-		else { $iWeekInSeconds = 0; }
48
+		if ($iWeek > 1) { $iWeekInSeconds = ($iWeek-1) * 604800; } else { $iWeekInSeconds = 0; }
51 49
 
52 50
 		$iTimestamp = mktime(0, 0, 0, 1, 1, $iYear) + $iWeekInSeconds + $iShift;
53 51
 		$iTimestampLastDay = mktime(0, 0, 0, 1, 6, $iYear) + $iWeekInSeconds + $iShift + 604800;
@@ -78,18 +76,7 @@  discard block
 block discarded – undo
78 76
 	{
79 77
 		if ($sLanguage == 'fr') {
80 78
 
81
-			if ($sMonth == '01' || $sMonth == 1) { return 'Janvier'; }
82
-			else if ($sMonth == '02' || $sMonth == 2) { return 'Février'; }
83
-			else if ($sMonth == '03' || $sMonth == 3) { return 'Mars'; }
84
-			else if ($sMonth == '04' || $sMonth == 4) { return 'Avril'; }
85
-			else if ($sMonth == '05' || $sMonth == 5) { return 'Mai'; }
86
-			else if ($sMonth == '06' || $sMonth == 6) { return 'Juin'; }
87
-			else if ($sMonth == '07' || $sMonth == 7) { return 'Juillet'; }
88
-			else if ($sMonth == '08' || $sMonth == 8) { return 'Août'; }
89
-			else if ($sMonth == '09' || $sMonth == 9) { return 'Septembre'; }
90
-			else if ($sMonth == 10) { return 'Octobre'; }
91
-			else if ($sMonth == 11) { return 'Novembre'; }
92
-			else if ($sMonth == 12) { return 'Décembre'; }
79
+			if ($sMonth == '01' || $sMonth == 1) { return 'Janvier'; } else if ($sMonth == '02' || $sMonth == 2) { return 'Février'; } else if ($sMonth == '03' || $sMonth == 3) { return 'Mars'; } else if ($sMonth == '04' || $sMonth == 4) { return 'Avril'; } else if ($sMonth == '05' || $sMonth == 5) { return 'Mai'; } else if ($sMonth == '06' || $sMonth == 6) { return 'Juin'; } else if ($sMonth == '07' || $sMonth == 7) { return 'Juillet'; } else if ($sMonth == '08' || $sMonth == 8) { return 'Août'; } else if ($sMonth == '09' || $sMonth == 9) { return 'Septembre'; } else if ($sMonth == 10) { return 'Octobre'; } else if ($sMonth == 11) { return 'Novembre'; } else if ($sMonth == 12) { return 'Décembre'; }
93 80
 		}
94 81
 	}
95 82
 
@@ -105,13 +92,7 @@  discard block
 block discarded – undo
105 92
 	{
106 93
 		if ($sLanguage == 'fr') {
107 94
 
108
-			if ($sDay == 0) { return 'dimanche'; }
109
-			else if ($sDay == 1) { return 'lundi'; }
110
-			else if ($sDay == 2) { return 'mardi'; }
111
-			else if ($sDay == 3) { return 'mercredi'; }
112
-			else if ($sDay == 4) { return 'jeudi'; }
113
-			else if ($sDay == 5) { return 'vendredi'; }
114
-			else if ($sDay == 6) { return 'samedi'; }
95
+			if ($sDay == 0) { return 'dimanche'; } else if ($sDay == 1) { return 'lundi'; } else if ($sDay == 2) { return 'mardi'; } else if ($sDay == 3) { return 'mercredi'; } else if ($sDay == 4) { return 'jeudi'; } else if ($sDay == 5) { return 'vendredi'; } else if ($sDay == 6) { return 'samedi'; }
115 96
 		}
116 97
 	}
117 98
 
@@ -138,8 +119,7 @@  discard block
 block discarded – undo
138 119
 			if ($iMonth == $aToday['mois']) {
139 120
 
140 121
 				if ($iDay > $aToday['jour']) { $iYears--; }
141
-			}
142
-			else {
122
+			} else {
143 123
 
144 124
 				$iYears--;
145 125
 			}
@@ -160,18 +140,15 @@  discard block
 block discarded – undo
160 140
 	{
161 141
 		$iFirstDayInYear = date("N",mktime(0, 0, 0, 1, 1, $iYear));
162 142
 
163
-		if ($iFirstDayInYear < 5) { $iShift = -($iFirstDayInYear - 1) * 86400; }
164
-		else { $iShift = (8 - $iFirstDayInYear) * 86400; }
143
+		if ($iFirstDayInYear < 5) { $iShift = -($iFirstDayInYear - 1) * 86400; } else { $iShift = (8 - $iFirstDayInYear) * 86400; }
165 144
 
166
-		if ($iWeek > 1) { $iWeekInSeconds = ($iWeek-1) * 604800; }
167
-		else { $iWeekInSeconds = 0; }
145
+		if ($iWeek > 1) { $iWeekInSeconds = ($iWeek-1) * 604800; } else { $iWeekInSeconds = 0; }
168 146
 
169 147
 		if (date('N') > 2) {
170 148
 
171 149
 			$iTimestamp = mktime(0, 0, 0, 1, 1, $iYear) + $iWeekInSeconds + $iShift + 172800;
172 150
 			$iTimestampLastDay = $iTimestamp + 604800;
173
-		}
174
-		else {
151
+		} else {
175 152
 
176 153
 			$iTimestamp = mktime(0, 0, 0, 1, 1, $iYear) + $iWeekInSeconds + $iShift - 432000;
177 154
 			$iTimestampLastDay = $iTimestamp + 604800;
@@ -228,7 +205,6 @@  discard block
 block discarded – undo
228 205
 		if ($iTimeStamp < 3600) { return $sStartReturn.' '.(int)($iTimeStamp/60).' '.$sMinutes.$sEndReturn; }
229 206
 		if ($iTimeStamp < 86400) { return $sStartReturn.' '.(int)($iTimeStamp/3600).' '.$sHours.$sEndReturn; }
230 207
 		if ($iTimeStamp < 2592000) { return $sStartReturn.' '.(int)($iTimeStamp/86400).' '.$sDays.$sEndReturn; }
231
-		if ($iTimeStamp < 31536000) { return $sStartReturn.' '.(int)($iTimeStamp/2592000).' '.$sMonths.$sEndReturn; }
232
-		else { return $sStartReturn.' '.(int)($iTimeStamp/31536000).' '.$sYears.$sEndReturn; }
208
+		if ($iTimeStamp < 31536000) { return $sStartReturn.' '.(int)($iTimeStamp/2592000).' '.$sMonths.$sEndReturn; } else { return $sStartReturn.' '.(int)($iTimeStamp/31536000).' '.$sYears.$sEndReturn; }
233 209
 	}
234 210
 }
Please login to merge, or discard this patch.
bundles/lib/Form.php 2 patches
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -304,7 +304,7 @@  discard block
 block discarded – undo
304 304
 	 * get global object form
305 305
 	 *
306 306
 	 * @access public
307
-	 * @return object
307
+	 * @return \stdClass
308 308
 	 */
309 309
 	public function getFormInObject()
310 310
 	{
@@ -411,7 +411,6 @@  discard block
 block discarded – undo
411 411
 	 * set the entity to synchronize with the formular
412 412
 	 *
413 413
 	 * @access public
414
-	 * @param  string $sSeparator separator between the fields
415 414
 	 * @param  int $iId id of the primary key
416 415
 	 * @return \Venus\lib\Form
417 416
 	 */
Please login to merge, or discard this patch.
Braces   +12 added lines, -24 removed lines patch added patch discarded remove patch
@@ -144,27 +144,22 @@  discard block
 block discarded – undo
144 144
 	    if ($mType instanceof Container) {
145 145
 	        
146 146
 	        $this->_aElement[$sName] = $mType;
147
-	    }
148
-		else if ($mType === 'text' || $mType === 'submit' || $mType === 'password' || $mType === 'file' || $mType === 'tel'
147
+	    } else if ($mType === 'text' || $mType === 'submit' || $mType === 'password' || $mType === 'file' || $mType === 'tel'
149 148
 	        || $mType === 'url' || $mType === 'email' || $mType === 'search' || $mType === 'date' || $mType === 'time'
150 149
 	        || $mType === 'datetime' || $mType === 'month' || $mType === 'week' || $mType === 'number' || $mType === 'range'
151 150
 	        || $mType === 'color') {
152 151
 
153 152
 			$this->_aElement[$sName] = new Input($sName, $mType, $sLabel, $mValue);
154
-		}
155
-		elseif ($mType === 'textarea') {
153
+		} elseif ($mType === 'textarea') {
156 154
 
157 155
 			$this->_aElement[$sName] = new Textarea($sName, $sLabel, $mValue);
158
-		}
159
-		else  if ($mType === 'select') {
156
+		} else  if ($mType === 'select') {
160 157
 
161 158
 			$this->_aElement[$sName] = new Select($sName, $mOptions, $sLabel, $mValue);
162
-		}
163
-		else  if ($mType === 'label') {
159
+		} else  if ($mType === 'label') {
164 160
 
165 161
 			$this->_aElement[$sName] = new Label($sName);
166
-		}
167
-		else  if ($mType === 'list_checkbox') {
162
+		} else  if ($mType === 'list_checkbox') {
168 163
 
169 164
 			$i = 0;
170 165
 			
@@ -174,23 +169,19 @@  discard block
 block discarded – undo
174 169
 			
175 170
 				$this->_aElement[$sName.'_'.$i++] = new Checkbox($sName, $sValue, $mKey, $mOptions);
176 171
 			}
177
-		}
178
-		else  if ($mType === 'checkbox') {
172
+		} else  if ($mType === 'checkbox') {
179 173
 
180 174
 			$this->_aElement[$sName] = new Checkbox($sName, $sLabel, $mValue, $mOptions);
181
-		}
182
-		else  if ($mType === 'radio') {
175
+		} else  if ($mType === 'radio') {
183 176
 
184 177
 			$this->_aElement[$sName.rand(100000,999999)] = new Radio($sName, $sLabel, $mValue, $mOptions);
185
-		}
186
-		else  if ($mType === 'date') {
178
+		} else  if ($mType === 'date') {
187 179
 
188 180
 			$aDay = array();
189 181
 
190 182
 			for ($i = 1 ; $i <= 31 ; $i++) {
191 183
 
192
-				if ($i < 10) { $aDay['0'.$i] = '0'.$i; }
193
-				else { $aDay[$i] = $i; }
184
+				if ($i < 10) { $aDay['0'.$i] = '0'.$i; } else { $aDay[$i] = $i; }
194 185
 			}
195 186
 
196 187
 			$this->_aElement[$sName.'_day'] = new Select($sName, $aDay);
@@ -331,8 +322,7 @@  discard block
 block discarded – undo
331 322
 	                if ($sValue instanceof Form) {
332 323
 	                    
333 324
 	                    ;
334
-	                }
335
-	                else {
325
+	                } else {
336 326
 	                 
337 327
     	                $sMethodNameInEntity = 'get_'.$sKey;
338 328
     	                $mValue = $oCompleteEntity->$sMethodNameInEntity();
@@ -340,8 +330,7 @@  discard block
 block discarded – undo
340 330
     	                if ($sValue instanceof \Venus\lib\Form\Radio && method_exists($this->_aElement[$sExKey], 'setValueChecked')) {
341 331
     	
342 332
     	                    $this->_aElement[$sExKey]->setValueChecked($mValue);
343
-    	                }
344
-    	                else if (isset($mValue) && method_exists($this->_aElement[$sKey], 'setValue')) {
333
+    	                } else if (isset($mValue) && method_exists($this->_aElement[$sKey], 'setValue')) {
345 334
     	
346 335
     	                    $this->_aElement[$sKey]->setValue($mValue);
347 336
     	                }
@@ -359,8 +348,7 @@  discard block
 block discarded – undo
359 348
 	        if ($sValue instanceof Container) {
360 349
 	        
361 350
 	            $oForm->form[$sKey] = $sValue;
362
-	        }
363
-	        else {
351
+	        } else {
364 352
 	            
365 353
 	            $oForm->form[$sKey] = $sValue->fetch();
366 354
 	        }
Please login to merge, or discard this patch.
bundles/lib/Form/Container.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 	 * get the Value
70 70
 	 *
71 71
 	 * @access public
72
-	 * @return object
72
+	 * @return \stdClass
73 73
 	 */
74 74
 	public function createView()
75 75
 	{
Please login to merge, or discard this patch.
Braces   +5 added lines, -10 removed lines patch added patch discarded remove patch
@@ -85,8 +85,7 @@  discard block
 block discarded – undo
85 85
 	            
86 86
 	            $oNewForm = $mValue->createView();
87 87
 	            $oView->form_row[$sKey] = $oNewForm->form_row;
88
-	        }
89
-	        else {
88
+	        } else {
90 89
 	            
91 90
 	           $oView->form_row[$sKey] = $mValue;
92 91
 	        }
@@ -147,8 +146,7 @@  discard block
 block discarded – undo
147 146
 		    }
148 147
 		
149 148
 		    $oEntity->save();
150
-		}
151
-		else if ($this->_oForm->getSynchronizeEntity() !== null && isset($aRequest) && count($aRequest) > 0) {
149
+		} else if ($this->_oForm->getSynchronizeEntity() !== null && isset($aRequest) && count($aRequest) > 0) {
152 150
 		
153 151
 		    $oEntity = new $this->_oForm->_sSynchronizeEntity;
154 152
 		
@@ -187,8 +185,7 @@  discard block
 block discarded – undo
187 185
 	 */
188 186
 	public function isValid() : bool
189 187
 	{
190
-		if ($this->_bHandleRequestActivate === true) { return true; }
191
-		else { return false; }
188
+		if ($this->_bHandleRequestActivate === true) { return true; } else { return false; }
192 189
 	}
193 190
 
194 191
 	/**
@@ -202,8 +199,7 @@  discard block
 block discarded – undo
202 199
 	    if (isset($_POST['validform'.$this->_oForm->getFormNumber()]) && $_POST['validform'.$this->_oForm->getFormNumber()] == 1) {
203 200
 	        
204 201
 	        return true;
205
-	    }
206
-		else { 
202
+	    } else { 
207 203
 		    
208 204
 		    return false;
209 205
 		}
@@ -218,8 +214,7 @@  discard block
 block discarded – undo
218 214
 	 */
219 215
 	public function isClicked(string $sElementName) : bool
220 216
 	{
221
-	    if (isset($_POST[$sElementName]) && $_POST[$sElementName]) { return true; }
222
-		else { return false; }
217
+	    if (isset($_POST[$sElementName]) && $_POST[$sElementName]) { return true; } else { return false; }
223 218
 	}
224 219
 
225 220
 	/**
Please login to merge, or discard this patch.
bundles/lib/Form/Input.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
 	 *
152 152
 	 * @access public
153 153
 	 * @param  string $sType type of input;
154
-	 * @return bool
154
+	 * @return string
155 155
 	 */
156 156
 	public function isClicked(string $sType) : string
157 157
 	{
Please login to merge, or discard this patch.
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -60,8 +60,7 @@
 block discarded – undo
60 60
 		$this->setName($sName);
61 61
 		$this->setValue($sValue);
62 62
 
63
-		if ($sLabel !== null) { $this->setLabel($sLabel); }
64
-		else { $this->setLabel($sName); }
63
+		if ($sLabel !== null) { $this->setLabel($sLabel); } else { $this->setLabel($sName); }
65 64
 	}
66 65
 
67 66
 	/**
Please login to merge, or discard this patch.
bundles/lib/Form/Radio.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
 	 *
97 97
 	 * @access public
98 98
 	 * @param  string $sValue Value of input;
99
-	 * @return \Venus\lib\Form\Input
99
+	 * @return Radio
100 100
 	 */
101 101
 	public function setValue(string $sValue) : Input
102 102
 	{
@@ -120,7 +120,7 @@  discard block
 block discarded – undo
120 120
 	 *
121 121
 	 * @access public
122 122
 	 * @param  string $sValueChecked Value of input;
123
-	 * @return \Venus\lib\Form\Input
123
+	 * @return Radio
124 124
 	 */
125 125
 	public function setValueChecked(string $sValueChecked) : Input
126 126
 	{
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
 	 *
145 145
 	 * @access public
146 146
 	 * @param  string $sLabel Label of input;
147
-	 * @return \Venus\lib\Form\Input
147
+	 * @return Radio
148 148
 	 */
149 149
 	public function setLabel(string $sLabel) : Input
150 150
 	{
Please login to merge, or discard this patch.