Completed
Push — master ( 13d43e...43caeb )
by
unknown
11:00
created
src/Application.php 2 patches
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,6 +37,9 @@  discard block
 block discarded – undo
37 37
     /** @var RequestInterface Request instance */
38 38
     protected $request;
39 39
 
40
+    /**
41
+     * @param Email $cms
42
+     */
40 43
     public function authorize($cms)
41 44
     {
42 45
         if ($cms->isCMS()) {
@@ -203,7 +206,7 @@  discard block
 block discarded – undo
203 206
      *
204 207
      * @param string $code Code password recovery
205 208
      *
206
-     * @return bool
209
+     * @return null|false
207 210
      */
208 211
     public function __confirm($code)
209 212
     {
Please login to merge, or discard this patch.
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -8,7 +8,6 @@  discard block
 block discarded – undo
8 8
 namespace samsoncms\app\signin;
9 9
 
10 10
 use samson\activerecord\dbQuery;
11
-use samson\cms\CMS;
12 11
 use samson\social\email\EmailStatus;
13 12
 use samsonframework\core\RequestInterface;
14 13
 use samsonframework\core\ResourcesInterface;
@@ -16,7 +15,6 @@  discard block
 block discarded – undo
16 15
 use samsonphp\event\Event;
17 16
 use samsonframework\orm\QueryInterface;
18 17
 use samson\social\email\Email;
19
-use samson\core\Core;
20 18
 
21 19
 /**
22 20
  * Generic class for user sign in
Please login to merge, or discard this patch.