Completed
Push — master ( 0f5e6b...d874fd )
by Conrad
01:54
created
src/Models/AccessToken.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,6 @@
 block discarded – undo
3 3
 namespace AdvancedLearning\Oauth2Server\Models;
4 4
 
5 5
 use SilverStripe\ORM\DataObject;
6
-use SilverStripe\Security\Member;
7 6
 
8 7
 /**
9 8
  * Class AccessTokenEntity
Please login to merge, or discard this patch.
src/Middleware/AuthenticationMiddleware.php 2 patches
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,6 @@
 block discarded – undo
37 37
     /**
38 38
      * Build error control chain for an application
39 39
      *
40
-     * @param Application    $application The SilverStripe Application.
41 40
      */
42 41
     public function __construct()
43 42
     {
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use SilverStripe\Core\Application;
11 11
 use SilverStripe\Core\Injector\Injector;
12 12
 use SilverStripe\ORM\Connect\DatabaseException;
13
-use SilverStripe\ORM\DB;
14 13
 use SilverStripe\Security\Member;
15 14
 use SilverStripe\Security\Security;
16 15
 
Please login to merge, or discard this patch.
src/Controllers/AuthoriseController.php 2 patches
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -67,6 +67,9 @@
 block discarded – undo
67 67
         }
68 68
     }
69 69
 
70
+    /**
71
+     * @param string $message
72
+     */
70 73
     protected function getErrorResponse($message, $responseCode = 500)
71 74
     {
72 75
         $response = (new OAuthServerException($message, 100, 'server_error', $responseCode))
Please login to merge, or discard this patch.
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
10 10
 use Robbie\Psr7\HttpRequestAdapter;
11 11
 use Robbie\Psr7\HttpResponseAdapter;
12 12
 use SilverStripe\Control\Controller;
13
-use SilverStripe\Control\HTTP;
14 13
 use SilverStripe\Control\HTTPResponse;
15 14
 
16 15
 class AuthoriseController extends Controller
Please login to merge, or discard this patch.