Shorten long lines in PrefixSearch.php to make phpcs pass
authorAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Tue, 3 Mar 2015 18:29:22 +0000 (20:29 +0200)
committerAmir E. Aharoni <amir.aharoni@mail.huji.ac.il>
Wed, 4 Mar 2015 07:13:53 +0000 (09:13 +0200)
Change-Id: Ibf18835ff614e53887912b8e997a3230ed29dd68

includes/PrefixSearch.php

index 2885679..55a4f49 100644 (file)
@@ -155,7 +155,10 @@ abstract class PrefixSearch {
                        }
                }
                $srchres = array();
-               if ( Hooks::run( 'PrefixSearchBackend', array( $namespaces, $search, $limit, &$srchres, $offset ) ) ) {
+               if ( Hooks::run(
+                       'PrefixSearchBackend',
+                       array( $namespaces, $search, $limit, &$srchres, $offset )
+               ) ) {
                        return $this->titles( $this->defaultSearchBackend( $namespaces, $search, $limit, $offset ) );
                }
                return $this->strings( $this->handleResultFromHook( $srchres, $namespaces, $search, $limit ) );