Failed Conditions
Pull Request — psr2 (#2757)
by Andreas
06:12 queued 03:06
created
inc/Extension/AuthPlugin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
      * @param   string $user Username
190 190
      * @param   string $pass Cleartext Password
191 191
      * @param   bool $sticky Cookie should not expire
192
-     * @return  bool             true on successful auth
192
+     * @return  boolean|null             true on successful auth
193 193
      */
194 194
     public function trustExternal($user, $pass, $sticky = false)
195 195
     {
Please login to merge, or discard this patch.
inc/Extension/PluginTrait.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -85,6 +85,7 @@
 block discarded – undo
85 85
 
86 86
     /**
87 87
      * @see PluginInterface::getLang()
88
+     * @param string $id
88 89
      */
89 90
     public function getLang($id)
90 91
     {
Please login to merge, or discard this patch.
inc/Cache/Cache.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -55,6 +55,9 @@
 block discarded – undo
55 55
         return $this->_event;
56 56
     }
57 57
 
58
+    /**
59
+     * @param string $event
60
+     */
58 61
     public function setEvent($event)
59 62
     {
60 63
         $this->_event = $event;
Please login to merge, or discard this patch.
inc/Extension/Event.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,6 @@  discard block
 block discarded – undo
80 80
     /**
81 81
      * advise all registered AFTER handlers of this event
82 82
      *
83
-     * @param bool $enablePreventDefault
84 83
      * @see advise_before() for details
85 84
      */
86 85
     public function advise_after()
@@ -190,7 +189,7 @@  discard block
 block discarded – undo
190 189
      * @param callable $action (optional, default=NULL) default action, a php callback function
191 190
      * @param bool $canPreventDefault (optional, default=true) can hooks prevent the default action
192 191
      *
193
-     * @return mixed                        the event results value after all event processing is complete
192
+     * @return boolean                        the event results value after all event processing is complete
194 193
      *                                      by default this is the return value of the default action however
195 194
      *                                      it can be set or modified by event handler hooks
196 195
      */
Please login to merge, or discard this patch.