Completed
Push — php-cs-fixer ( b6f93e...b9836a )
by Fabio
07:15
created
framework/Security/IUserManager.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -37,6 +37,7 @@  discard block
 block discarded – undo
37 37
 	/**
38 38
 	 * Returns a user instance according to auth data stored in a cookie.
39 39
 	 * @param THttpCookie the cookie storing user authentication information
40
+	 * @param \Prado\Web\THttpCookie $cookie
40 41
 	 * @return TUser the user instance generated based on the cookie auth data, null if the cookie does not have valid auth data.
41 42
 	 * @since 3.1.1
42 43
 	 */
@@ -44,7 +45,9 @@  discard block
 block discarded – undo
44 45
 	/**
45 46
 	 * Saves user auth data into a cookie.
46 47
 	 * @param THttpCookie the cookie to receive the user auth data.
48
+	 * @param \Prado\Web\THttpCookie $cookie
47 49
 	 * @since 3.1.1
50
+	 * @return void
48 51
 	 */
49 52
 	public function saveUserToCookie($cookie);
50 53
 	/**
Please login to merge, or discard this patch.
framework/Security/TAuthManager.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -228,6 +228,7 @@  discard block
 block discarded – undo
228 228
 	/**
229 229
 	 * Sets the URL that the browser should be redirected to when login succeeds.
230 230
 	 * @param string the URL to be redirected to.
231
+	 * @param string $value
231 232
 	 */
232 233
 	public function setReturnUrl($value)
233 234
 	{
@@ -376,6 +377,7 @@  discard block
 block discarded – undo
376 377
 	/**
377 378
 	 * Updates the user data stored in session.
378 379
 	 * @param IUser user object
380
+	 * @param TUser $user
379 381
 	 * @throws new TConfigurationException if session module is not loaded.
380 382
 	 */
381 383
 	public function updateSessionUser($user)
Please login to merge, or discard this patch.
framework/Security/TDbUserManager.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -162,7 +162,8 @@
 block discarded – undo
162 162
 	/**
163 163
 	 * Creates the DB connection.
164 164
 	 * @param string the module ID for TDataSourceConfig
165
-	 * @return TDbConnection the created DB connection
165
+	 * @param string $connectionID
166
+	 * @return \Prado\Data\TDbConnection the created DB connection
166 167
 	 * @throws TConfigurationException if module ID is invalid or empty
167 168
 	 */
168 169
 	protected function createDbConnection($connectionID)
Please login to merge, or discard this patch.
framework/TApplicationConfiguration.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -61,6 +61,7 @@
 block discarded – undo
61 61
 	/**
62 62
 	 * Parses the application configuration file.
63 63
 	 * @param string configuration file name
64
+	 * @param string $fname
64 65
 	 * @throws TConfigurationException if there is any parsing error
65 66
 	 */
66 67
 	public function loadFromFile($fname)
Please login to merge, or discard this patch.
framework/TComponent.php 1 patch
Doc Comments   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -422,7 +422,7 @@  discard block
 block discarded – undo
422 422
 	 * </code>
423 423
 	 * to be executed when listen is called.  All attached behaviors are notified through dyListen.
424 424
 	 *
425
-	 * @return numeric the number of global events that were registered to the global event registry
425
+	 * @return null|integer the number of global events that were registered to the global event registry
426 426
 	 */
427 427
 	public function listen() {
428 428
 		if($this->_listeningenabled)
@@ -456,7 +456,7 @@  discard block
 block discarded – undo
456 456
 	 * </code>
457 457
 	 * to be executed when listen is called.  All attached behaviors are notified through dyUnlisten.
458 458
 	 *
459
-	 * @return numeric the number of global events that were unregistered from the global event registry
459
+	 * @return null|integer the number of global events that were unregistered from the global event registry
460 460
 	 */
461 461
 	public function unlisten() {
462 462
 		if(!$this->_listeningenabled)
@@ -793,6 +793,7 @@  discard block
 block discarded – undo
793 793
 	 * A property is defined if there is a getter or setter method
794 794
 	 * defined in the class. Note, property names are case-insensitive.
795 795
 	 * @param string the property name
796
+	 * @param string $name
796 797
 	 * @return boolean whether the property is defined
797 798
 	 */
798 799
 	public function hasProperty($name)
Please login to merge, or discard this patch.
framework/Util/IBaseBehavior.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -27,11 +27,14 @@
 block discarded – undo
27 27
 	/**
28 28
 	 * Attaches the behavior object to the component.
29 29
 	 * @param CComponent the component that this behavior is to be attached to.
30
+	 * @param \Prado\TComponent $component
31
+	 * @return void
30 32
 	 */
31 33
 	public function attach($component);
32 34
 	/**
33 35
 	 * Detaches the behavior object from the component.
34 36
 	 * @param CComponent the component that this behavior is to be detached from.
37
+	 * @return void
35 38
 	 */
36 39
 	public function detach($component);
37 40
 }
38 41
\ No newline at end of file
Please login to merge, or discard this patch.
framework/Util/IBehavior.php 1 patch
Doc Comments   +2 added lines patch added patch discarded remove patch
@@ -34,6 +34,8 @@
 block discarded – undo
34 34
 	public function getEnabled();
35 35
 	/**
36 36
 	 * @param boolean whether this behavior is enabled
37
+	 * @param boolean $value
38
+	 * @return void
37 39
 	 */
38 40
 	public function setEnabled($value);
39 41
 }
40 42
\ No newline at end of file
Please login to merge, or discard this patch.
framework/Web/Services/TRpcApiProvider.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -77,7 +77,7 @@
 block discarded – undo
77 77
 	}
78 78
 
79 79
 	/**
80
-	 * @return rpc server instance
80
+	 * @return TRpcServer server instance
81 81
 	 */
82 82
 	public function getRpcServer()
83 83
 	{
Please login to merge, or discard this patch.
framework/Web/Services/TRpcProtocol.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -33,6 +33,7 @@
 block discarded – undo
33 33
 	/**
34 34
 	 * @param string request payload
35 35
 	 * Processed the request ans returns the response, if any
36
+	 * @param string $requestPayload
36 37
 	 * @return processed response
37 38
 	 * @abstract
38 39
 	 */
Please login to merge, or discard this patch.