Completed
Pull Request — master (#45)
by Vladimir
02:30
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
@@ -63,10 +63,12 @@
 block discarded – undo
63 63
     {
64 64
         return from($this->trackedItems)
65 65
             ->selectMany('$v', '$v->createJail()')
66
-            ->where(function ($v) {
66
+            ->where(function ($v)
67
+            {
67 68
                 return Service::getParameter(BuildableCommand::USE_DRAFTS) || !$v['draft'];
68 69
             })
69
-            ->groupBy('$v->getCollection()', null, function ($e) {
70
+            ->groupBy('$v->getCollection()', null, function ($e)
71
+            {
70 72
                 return from($e)
71 73
                     ->toDictionary('$v["name"]')
72 74
                 ;
Please login to merge, or discard this patch.