Completed
Pull Request — master (#12699)
by Robert
18:13 queued 09:56
created
framework/i18n/MessageFormatter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
52 52
     /**
53 53
      * Get the error code from the last operation
54 54
      * @link http://php.net/manual/en/messageformatter.geterrorcode.php
55
-     * @return string Code of the last error.
55
+     * @return integer Code of the last error.
56 56
      */
57 57
     public function getErrorCode()
58 58
     {
Please login to merge, or discard this patch.
framework/db/Schema.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -145,7 +145,7 @@  discard block
 block discarded – undo
145 145
     /**
146 146
      * Returns the cache key for the specified table name.
147 147
      * @param string $name the table name
148
-     * @return mixed the cache key
148
+     * @return string[] the cache key
149 149
      */
150 150
     protected function getCacheKey($name)
151 151
     {
@@ -427,7 +427,7 @@  discard block
 block discarded – undo
427 427
      * Executes the INSERT command, returning primary key values.
428 428
      * @param string $table the table that new rows will be inserted into.
429 429
      * @param array $columns the column data (name => value) to be inserted into the table.
430
-     * @return array|false primary key values or false if the command fails
430
+     * @return string primary key values or false if the command fails
431 431
      * @since 2.0.4
432 432
      */
433 433
     public function insert($table, $columns)
Please login to merge, or discard this patch.
framework/web/UrlRule.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -334,7 +334,7 @@  discard block
 block discarded – undo
334 334
      * @param UrlManager $manager the URL manager
335 335
      * @param string $route the route. It should not have slashes at the beginning or the end.
336 336
      * @param array $params the parameters
337
-     * @return string|bool the created URL, or `false` if this rule cannot be used for creating this URL.
337
+     * @return false|string the created URL, or `false` if this rule cannot be used for creating this URL.
338 338
      */
339 339
     public function createUrl($manager, $route, $params)
340 340
     {
@@ -425,7 +425,7 @@  discard block
 block discarded – undo
425 425
      * When found - replaces this placeholder key with a appropriate name of matching parameter.
426 426
      * Used in [[parseRequest()]], [[createUrl()]].
427 427
      *
428
-     * @param array $matches result of `preg_match()` call
428
+     * @param string[] $matches result of `preg_match()` call
429 429
      * @return array input array with replaced placeholder keys
430 430
      * @see placeholders
431 431
      * @since 2.0.7
Please login to merge, or discard this patch.