Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #1213 from elkuku/docblock-fix

Fix magic method declaration in docblocks
  • Loading branch information...
commit 64d1cf5792642714362bf53ef49aa0d5541137d7 2 parents 5391efc + 9f3ce43
@LouisLandry LouisLandry authored
View
6 libraries/joomla/database/query.php
@@ -137,9 +137,9 @@ public function __clone()
* @subpackage Database
* @since 11.1
*
- * @method string q() q($text, $escape) Alias for quote method
- * @method string qn() qs($name, $as) Alias for quoteName method
- * @method string e() e($text, $extra) Alias for escape method
+ * @method string q() q($text, $escape = true) Alias for quote method
+ * @method string qn() qs($name, $as = null) Alias for quoteName method
+ * @method string e() e($text, $extra = false) Alias for escape method
*/
abstract class JDatabaseQuery
{
View
24 libraries/joomla/input/input.php
@@ -18,18 +18,18 @@
* @subpackage Input
* @since 11.1
*
- * @method integer getInt() getInt($name, $default) Get a signed integer.
- * @method integer getUint() getUint($name, $default) Get an unsigned integer.
- * @method float getFloat() getFloat($name, $default) Get a floating-point number.
- * @method boolean getBool() getBool($name, $default) Get a boolean.
- * @method string getWord() getWord($name, $default)
- * @method string getAlnum() getAlnum($name, $default)
- * @method string getCmd() getCmd($name, $default)
- * @method string getBase64() getBase64($name, $default)
- * @method string getString() getString($name, $default)
- * @method string getHtml() getHtml($name, $default)
- * @method string getPath() getPath($name, $default)
- * @method string getUsername() getUsername($name, $default)
+ * @method integer getInt() getInt($name, $default = null) Get a signed integer.
+ * @method integer getUint() getUint($name, $default = null) Get an unsigned integer.
+ * @method float getFloat() getFloat($name, $default = null) Get a floating-point number.
+ * @method boolean getBool() getBool($name, $default = null) Get a boolean.
+ * @method string getWord() getWord($name, $default = null)
+ * @method string getAlnum() getAlnum($name, $default = null)
+ * @method string getCmd() getCmd($name, $default = null)
+ * @method string getBase64() getBase64($name, $default = null)
+ * @method string getString() getString($name, $default = null)
+ * @method string getHtml() getHtml($name, $default = null)
+ * @method string getPath() getPath($name, $default = null)
+ * @method string getUsername() getUsername($name, $default = null)
*/
class JInput implements Serializable
{
Please sign in to comment.
Something went wrong with that request. Please try again.