Completed
Push — master ( 47f050...014b6a )
by Patrick
39s
created
Http/AuthMiddleware.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,11 +79,11 @@
 block discarded – undo
79 79
     {
80 80
         $auth = $request->getHeaderLine('Authorization');
81 81
         if(empty($auth))
82
-	{
82
+    {
83 83
             $request = $request->withAttribute('user', $this->getUserFromSession());
84 84
         }
85 85
         else
86
-	{
86
+    {
87 87
             $request = $request->withAttribute('user', $this->getUserFromHeader($auth));
88 88
         }
89 89
         $response = $next($request, $response);
Please login to merge, or discard this patch.
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -79,11 +79,11 @@
 block discarded – undo
79 79
     {
80 80
         $auth = $request->getHeaderLine('Authorization');
81 81
         if(empty($auth))
82
-	{
82
+        {
83 83
             $request = $request->withAttribute('user', $this->getUserFromSession());
84 84
         }
85 85
         else
86
-	{
86
+        {
87 87
             $request = $request->withAttribute('user', $this->getUserFromHeader($auth));
88 88
         }
89 89
         $response = $next($request, $response);
Please login to merge, or discard this patch.
Data/MongoDataTable.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -113,11 +113,11 @@
 block discarded – undo
113 113
     public function delete($filter)
114 114
     {
115 115
         $criteria = $this->getCriteriaFromFilter($filter);
116
-	$res = $this->collection->remove($criteria, array(), $this->name);
117
-	if($res === true)
118
-	{
116
+    $res = $this->collection->remove($criteria, array(), $this->name);
117
+    if($res === true)
118
+    {
119 119
             return true;
120
-	}
120
+    }
121 121
         if($res === false || $res['err'] !== null)
122 122
         {
123 123
             return false;
Please login to merge, or discard this patch.