Completed
Push — master ( 44a448...fdc52d )
by Camilo
03:18
created
src/unreal4u/localization.php 1 patch
Doc Comments   +4 added lines, -6 removed lines patch added patch discarded remove patch
@@ -127,7 +127,6 @@  discard block
 block discarded – undo
127 127
     /**
128 128
      * Sets some options
129 129
      *
130
-     * @param string $locale
131 130
      * @return boolean
132 131
      */
133 132
     private function _setOptions()
@@ -142,7 +141,7 @@  discard block
 block discarded – undo
142 141
      *
143 142
      * @param string $charset Charset to send to browser. Defaults to UTF-8
144 143
      * @param string $contentType ContentType to send to browser. Defaults to text/html
145
-     * @return boolean Returns true if headers could be sent, false otherwise
144
+     * @return string Returns true if headers could be sent, false otherwise
146 145
      */
147 146
     public function sendHeaders($charset = 'UTF-8', $contentType = 'text/html')
148 147
     {
@@ -179,8 +178,8 @@  discard block
 block discarded – undo
179 178
      *
180 179
      * @link http://www.php.net/manual/en/class.numberformatter.php#intl.numberformatter-constants.unumberformatstyle
181 180
      *
182
-     * @param float $value
183
-     * @param constant $type One of the accepted constants for numfmt_create (See link)
181
+     * @param integer $value
182
+     * @param integer $type One of the accepted constants for numfmt_create (See link)
184 183
      * @param int $minimumDigits The minimum significant digits. Defaults to -1, which equals locale default
185 184
      * @param int $maximumDigits The maximum significant digits. Defaults to -1, which equals locale default
186 185
      * @return string Returns the given value formatted according to current locale
@@ -275,7 +274,6 @@  discard block
 block discarded – undo
275 274
      * @param string $timezone The timezone in which we want to print the time
276 275
      * @param int $value The UNIX timestamp we want to print. Defaults to current time
277 276
      * @param int $type The type of time we want to print
278
-     * @param string $locale The locale in which we want the time
279 277
      * @return string The formatted time according to current locale settings
280 278
      */
281 279
     public function formatSimpleTime($value = 0, $timezone = '', $type = \intlDateFormatter::MEDIUM)
@@ -321,7 +319,7 @@  discard block
 block discarded – undo
321 319
      *
322 320
      * @TODO Verify that the given timezone exists
323 321
      *
324
-     * @param string $timezoneName
322
+     * @param string $timeZoneName
325 323
      * @return string
326 324
      */
327 325
     public function setTimezone($timeZoneName = 'UTC')
Please login to merge, or discard this patch.