Failed Conditions
Pull Request — master (#2943)
by Andreas
03:32
created
inc/Search/FulltextSearch.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -241,7 +241,7 @@
 block discarded – undo
241 241
      *
242 242
      * @param string $id page id
243 243
      * @param array $highlight
244
-     * @return mixed
244
+     * @return string
245 245
      */
246 246
     public function snippet($id, $highlight)
247 247
     {
Please login to merge, or discard this patch.
lib/plugins/extension/helper/extension.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -893,7 +893,7 @@
 block discarded – undo
893 893
      * @param string $url           url to download
894 894
      * @param string $file          path to file or directory where to save
895 895
      * @param string $defaultName   fallback for name of download
896
-     * @return bool|string          if failed false, otherwise true or the name of the file in the given dir
896
+     * @return false|string          if failed false, otherwise true or the name of the file in the given dir
897 897
      */
898 898
     protected function downloadToFile($url, $file, $defaultName = '')
899 899
     {
Please login to merge, or discard this patch.
inc/Extension/AuthPlugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -191,7 +191,7 @@
 block discarded – undo
191 191
      * @param   string $user Username
192 192
      * @param   string $pass Cleartext Password
193 193
      * @param   bool $sticky Cookie should not expire
194
-     * @return  bool         true on successful auth,
194
+     * @return  boolean|null         true on successful auth,
195 195
      *                       null on unknown result (fallback to checkPass)
196 196
      */
197 197
     public function trustExternal($user, $pass, $sticky = false)
Please login to merge, or discard this patch.
inc/Search/AbstractIndex.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
     /**
133 133
      * Lock the indexer
134 134
      *
135
-     * @return true
135
+     * @return boolean
136 136
      * @throws IndexLockException
137 137
      * @author Tom N Harris <[email protected]>
138 138
      *
@@ -163,7 +163,7 @@  discard block
 block discarded – undo
163 163
     /**
164 164
      * Release the indexer lock
165 165
      *
166
-     * @return true
166
+     * @return boolean
167 167
      * @throws IndexLockException
168 168
      * @author Tom N Harris <[email protected]>
169 169
      *
Please login to merge, or discard this patch.