Completed
Pull Request — master (#45)
by Vladimir
07:13
created
src/allejo/stakx/Service.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
         return self::$parameters[$key];
17 17
     }
18 18
 
19
+    /**
20
+     * @param string $key
21
+     */
19 22
     public static function setParameter($key, $value)
20 23
     {
21 24
         self::$parameters[$key] = $value;
Please login to merge, or discard this patch.
src/allejo/stakx/Manager/CollectionManager.php 1 patch
Braces   +4 added lines, -2 removed lines patch added patch discarded remove patch
@@ -62,9 +62,11 @@
 block discarded – undo
62 62
     public function getJailedCollections()
63 63
     {
64 64
         return from($this->trackedItems)
65
-            ->select(function ($v) {
65
+            ->select(function ($v)
66
+            {
66 67
                 return from($v)
67
-                    ->where(function ($v) {
68
+                    ->where(function ($v)
69
+                    {
68 70
                         return Service::getParameter(BuildableCommand::USE_DRAFTS) || !$v->isDraft();
69 71
                     })
70 72
                     ->select('$v->createJail()')
Please login to merge, or discard this patch.