Fix phpdoc in SwiftFileBackend
authoraddshore <addshorewiki@gmail.com>
Sun, 26 Jan 2014 18:47:42 +0000 (19:47 +0100)
committerBartosz Dziewoński <matma.rex@gmail.com>
Mon, 27 Jan 2014 16:07:55 +0000 (16:07 +0000)
Docs for $status and $code were swapped.

Change-Id: I88bd81b671f0e9a4176483fb744e45f2477672b5

includes/filebackend/SwiftFileBackend.php

index b459b77..8efdcc7 100644 (file)
@@ -1570,11 +1570,11 @@ class SwiftFileBackend extends FileBackendStore {
         * Log an unexpected exception for this backend.
         * This also sets the Status object to have a fatal error.
         *
-        * @param Status $code null
+        * @param Status|null $status
         * @param string $func
         * @param array $params
         * @param string $err Error string
-        * @param integer $status HTTP status
+        * @param integer $code HTTP status
         * @param string $desc HTTP status description
         */
        public function onError( $status, $func, array $params, $err = '', $code = 0, $desc = '' ) {