Completed
Pull Request — master (#41)
by Vladimir
02:38
created
src/allejo/stakx/Manager/PageManager.php 3 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@
 block discarded – undo
64 64
      * Get all of the PageViews tracked by this manager
65 65
      *
66 66
      * @since 0.1.0
67
-     * @return PageView[][]
67
+     * @return PageView[]
68 68
      */
69 69
     public function getAllPageViews ()
70 70
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     /**
33 33
      * PageManager constructor
34 34
      */
35
-    public function __construct()
35
+    public function __construct ()
36 36
     {
37 37
         parent::__construct();
38 38
 
Please login to merge, or discard this patch.
Braces   +6 added lines, -2 removed lines patch added patch discarded remove patch
@@ -109,7 +109,9 @@  discard block
 block discarded – undo
109 109
      */
110 110
     public function parsePageViews ($pageViewFolders)
111 111
     {
112
-        if (empty($pageViewFolders)) { return; }
112
+        if (empty($pageViewFolders))
113
+        {
114
+return; }
113 115
 
114 116
         foreach ($pageViewFolders as $pageViewFolderName)
115 117
         {
@@ -175,7 +177,9 @@  discard block
 block discarded – undo
175 177
      */
176 178
     private function handleTrackableStaticPageView (&$pageView)
177 179
     {
178
-        if (empty($pageView['title'])) { return; }
180
+        if (empty($pageView['title']))
181
+        {
182
+return; }
179 183
 
180 184
         $this->staticPages[$pageView['title']] = &$pageView;
181 185
     }
Please login to merge, or discard this patch.
tests/allejo/stakx/Test/StreamInterceptor.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 {
12 12
     public static $output = '';
13 13
 
14
-    public function filter($in, $out, &$consumed, $closing)
14
+    public function filter ($in, $out, &$consumed, $closing)
15 15
     {
16 16
         while ($bucket = stream_bucket_make_writeable($in))
17 17
         {
Please login to merge, or discard this patch.
tests/allejo/stakx/Test/PHPUnit_Stakx_TestCase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     protected $fs;
38 38
 
39
-    public function setUp()
39
+    public function setUp ()
40 40
     {
41 41
         $this->dummyFile = vfsStream::newFile('stakx.html.twig');
42 42
         $this->rootDir   = vfsStream::setup();
Please login to merge, or discard this patch.