Completed
Push — master ( 731a14...39886c )
by Patrick
05:14 queued 02:46
created
Data/DataTableSessionHandler.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -15,12 +15,12 @@
 block discarded – undo
15 15
 
16 16
     public function open($savePath, $sessionName)
17 17
     {
18
-       $this->dataTable = \Flipside\DataSetFactory::getDataTableByNames($this->dataSetName, $this->dataTableName);
19
-       if($this->dataTable)
20
-       {
21
-           return true;
22
-       }
23
-       return false;
18
+        $this->dataTable = \Flipside\DataSetFactory::getDataTableByNames($this->dataSetName, $this->dataTableName);
19
+        if($this->dataTable)
20
+        {
21
+            return true;
22
+        }
23
+        return false;
24 24
     }
25 25
 
26 26
     public function close()
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
 
63 63
     public function gc($maxlifetime)
64 64
     {
65
-        $date = date("Y-m-d H:i:s", time()-$maxlifetime);
65
+        $date = date("Y-m-d H:i:s", time() - $maxlifetime);
66 66
         $filter = new \Flipside\Data\Filter("sessionLastAccess lt $date");
67 67
         return $this->dataTable->delete($filter);
68 68
     }
Please login to merge, or discard this patch.
Http/WebSite.php 2 patches
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,7 @@  discard block
 block discarded – undo
13 13
         $settings = array("settings"=>["determineRouteBeforeAppMiddleware"=>true]);
14 14
         parent::__construct($settings);
15 15
         $c = $this->getContainer();
16
-        $c['errorHandler'] = function($c) { return new WebErrorHandler();};
16
+        $c['errorHandler'] = function($c) { return new WebErrorHandler(); };
17 17
         $this->add(new AuthMiddleware());
18 18
         $this->add(new ODataMiddleware());
19 19
     }
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
 
26 26
     public function registerAPI($uri, $api)
27 27
     {
28
-        $group = $this->group($uri, function() use($api){$api->setup($this);});
28
+        $group = $this->group($uri, function() use($api){$api->setup($this); });
29 29
         $group->add(new \Flipside\Http\Rest\SerializationMiddleware());
30 30
         $group->add(new \Flipside\Http\Rest\CORSMiddleware($this->getContainer()));
31 31
     }
Please login to merge, or discard this patch.
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -13,7 +13,9 @@  discard block
 block discarded – undo
13 13
         $settings = array("settings"=>["determineRouteBeforeAppMiddleware"=>true]);
14 14
         parent::__construct($settings);
15 15
         $c = $this->getContainer();
16
-        $c['errorHandler'] = function($c) { return new WebErrorHandler();};
16
+        $c['errorHandler'] = function($c)
17
+        {
18
+return new WebErrorHandler();};
17 19
         $this->add(new AuthMiddleware());
18 20
         $this->add(new ODataMiddleware());
19 21
     }
@@ -25,7 +27,9 @@  discard block
 block discarded – undo
25 27
 
26 28
     public function registerAPI($uri, $api)
27 29
     {
28
-        $group = $this->group($uri, function() use($api){$api->setup($this);});
30
+        $group = $this->group($uri, function() use($api)
31
+        {
32
+$api->setup($this);});
29 33
         $group->add(new \Flipside\Http\Rest\SerializationMiddleware());
30 34
         $group->add(new \Flipside\Http\Rest\CORSMiddleware($this->getContainer()));
31 35
     }
Please login to merge, or discard this patch.
Auth/SQLAuthenticator.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
     /**
74 74
      * Get the data table for Pending Users
75 75
      *
76
-     * @return boolean|\Data\DataTable The Pending User Data Table
76
+     * @return boolean The Pending User Data Table
77 77
      */
78 78
     private function getPendingUserDataTable()
79 79
     {
@@ -281,7 +281,7 @@  discard block
 block discarded – undo
281 281
     }
282 282
 
283 283
     /**
284
-     * @param \Data\Filter $filter The filter to read with
284
+     * @param \Flipside\Data\Filter $filter The filter to read with
285 285
      * @param boolean|array $select The fields to read
286 286
      * @param boolean|integer $top The number of entities to read
287 287
      * @param boolean|integer $skip The number of entities to skip
Please login to merge, or discard this patch.