Test Failed
Push — intl ( e84382...51730a )
by Fabio
15:14 queued 03:46
created
framework/Data/SqlMap/DataMapper/TSqlMapPagedList.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@
 block discarded – undo
43 43
 	 * @param IMappedStatement $statement SqlMap statement.
44 44
 	 * @param mixed $parameter query parameters
45 45
 	 * @param int $pageSize page size
46
-	 * @param null|mixed $delegate delegate for each data row retrieved.
46
+	 * @param null|callable $delegate delegate for each data row retrieved.
47 47
 	 * @param int $page number of page to fetch on initialization
48 48
 	 */
49 49
 	public function __construct(IMappedStatement $statement, $parameter, $pageSize, $delegate = null, $page = 0)
Please login to merge, or discard this patch.
framework/Data/SqlMap/Statements/TCachingStatement.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -109,6 +109,10 @@
 block discarded – undo
109 109
 		return $cacheKey->getHash();
110 110
 	}
111 111
 
112
+	/**
113
+	 * @param integer $skip
114
+	 * @param integer $max
115
+	 */
112 116
 	protected function createCommand($connection, $parameter, $skip = null, $max = null)
113 117
 	{
114 118
 		return $this->_mappedStatement->getCommand()->create(
Please login to merge, or discard this patch.
framework/Data/SqlMap/Statements/TStaticSql.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -22,6 +22,10 @@
 block discarded – undo
22 22
 {
23 23
 	private $_preparedStatement;
24 24
 
25
+	/**
26
+	 * @param \Prado\Data\SqlMap\Configuration\TSqlMapStatement $statement
27
+	 * @param string $sqlString
28
+	 */
25 29
 	public function buildPreparedStatement($statement, $sqlString)
26 30
 	{
27 31
 		$factory = new TPreparedStatementFactory($statement, $sqlString);
Please login to merge, or discard this patch.
framework/Data/SqlMap/TSqlMapConfig.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@
 block discarded – undo
80 80
 
81 81
 	/**
82 82
 	 * Saves the current SqlMap manager to cache.
83
-	 * @param mixed $manager
83
+	 * @param TSqlMapManager $manager
84 84
 	 * @return bool true if SqlMap manager was cached, false otherwise.
85 85
 	 */
86 86
 	protected function cacheSqlMapManager($manager)
Please login to merge, or discard this patch.
framework/Data/SqlMap/TSqlMapGateway.php 1 patch
Doc Comments   +5 added lines, -2 removed lines patch added patch discarded remove patch
@@ -35,6 +35,9 @@  discard block
 block discarded – undo
35 35
 	 */
36 36
 	private $_manager;
37 37
 
38
+	/**
39
+	 * @param TSqlMapManager $manager
40
+	 */
38 41
 	public function __construct($manager)
39 42
 	{
40 43
 		$this->_manager = $manager;
@@ -124,7 +127,7 @@  discard block
 block discarded – undo
124 127
 	 * @param mixed $parameter The object used to set the parameters in the SQL.
125 128
 	 * @param int $pageSize The maximum number of objects to store in each page.
126 129
 	 * @param int $page The number of the page to initially load into the list.
127
-	 * @return TPagedList A PaginatedList of beans containing the rows.
130
+	 * @return TSqlMapPagedList A PaginatedList of beans containing the rows.
128 131
 	 */
129 132
 	public function queryForPagedList($statementName, $parameter = null, $pageSize = 10, $page = 0)
130 133
 	{
@@ -145,7 +148,7 @@  discard block
 block discarded – undo
145 148
 	 * @param null|mixed $parameter The object used to set the parameters in the SQL.
146 149
 	 * @param int $pageSize The maximum number of objects to store in each page.
147 150
 	 * @param int $page The number of the page to initially load into the list.
148
-	 * @return TPagedList A PaginatedList of beans containing the rows.
151
+	 * @return TSqlMapPagedList A PaginatedList of beans containing the rows.
149 152
 	 */
150 153
 	public function queryForPagedListWithRowDelegate($statementName, $delegate, $parameter = null, $pageSize = 10, $page = 0)
151 154
 	{
Please login to merge, or discard this patch.
framework/Data/SqlMap/TSqlMapManager.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 	}
71 71
 
72 72
 	/**
73
-	 * @param TDbConnection $conn default database connection
73
+	 * @param \Prado\Data\TDbConnection $conn default database connection
74 74
 	 */
75 75
 	public function setDbConnection($conn)
76 76
 	{
Please login to merge, or discard this patch.
framework/Data/TDbCommand.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -156,7 +156,7 @@  discard block
 block discarded – undo
156 156
 
157 157
 	/**
158 158
 	 * Binds a value to a parameter.
159
-	 * @param mixed $name Parameter identifier. For a prepared statement
159
+	 * @param string $name Parameter identifier. For a prepared statement
160 160
 	 * using named placeholders, this will be a parameter name of
161 161
 	 * the form :name. For a prepared statement using question mark
162 162
 	 * placeholders, this will be the 1-indexed position of the parameter.
@@ -259,7 +259,7 @@  discard block
 block discarded – undo
259 259
 	 * This is a convenient method of {@link query} when only a single scalar
260 260
 	 * value is needed (e.g. obtaining the count of the records).
261 261
 	 * @throws TDbException execution failed
262
-	 * @return mixed the value of the first column in the first row of the query result. False is returned if there is no value.
262
+	 * @return string the value of the first column in the first row of the query result. False is returned if there is no value.
263 263
 	 */
264 264
 	public function queryScalar()
265 265
 	{
Please login to merge, or discard this patch.
framework/I18N/core/ChoiceFormat.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -171,6 +171,10 @@
 block discarded – undo
171 171
 		return false;
172 172
 	}
173 173
 
174
+	/**
175
+	 * @param double $number
176
+	 * @param string $set
177
+	 */
174 178
 	protected function isValidSetNotation($number, $set)
175 179
 	{
176 180
 		$str = '$result = ' . str_replace('n', '$number', $set) . ';';
Please login to merge, or discard this patch.
framework/I18N/core/Gettext/TGettext_MO.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
 	 *
87 87
 	 * @access  private
88 88
 	 * @param   int $bytes  $bytes
89
-	 * @return  mixed
89
+	 * @return  string|null
90 90
 	 */
91 91
 	public function _read($bytes = 1)
92 92
 	{
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
 	 *
166 166
 	 * @access   public
167 167
 	 * @param    string $file  $file
168
-	 * @return   mixed   Returns true on success or PEAR_Error on failure.
168
+	 * @return   boolean   Returns true on success or PEAR_Error on failure.
169 169
 	 */
170 170
 	public function load($file = null)
171 171
 	{
@@ -260,7 +260,7 @@  discard block
 block discarded – undo
260 260
 	 *
261 261
 	 * @access  public
262 262
 	 * @param   string $file  $file
263
-	 * @return  mixed   Returns true on success or PEAR_Error on failure.
263
+	 * @return  boolean   Returns true on success or PEAR_Error on failure.
264 264
 	 */
265 265
 	public function save($file = null)
266 266
 	{
Please login to merge, or discard this patch.