Completed
Push — master ( 32a724...459436 )
by Magnar Ovedal
16:49 queued 12:52
created
src/Policy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,8 +96,8 @@
 block discarded – undo
96 96
         if ($this->translator === null) {
97 97
             $this->translator = new Translator('en_US');
98 98
             $this->translator->addLoader('mo', new MoFileLoader());
99
-            $this->translator->addResource('mo', __DIR__ . '/../translations/messages.nn_NO.mo', 'nn_NO');
100
-            $this->translator->addResource('mo', __DIR__ . '/../translations/messages.nb_NO.mo', 'nb_NO');
99
+            $this->translator->addResource('mo', __DIR__.'/../translations/messages.nn_NO.mo', 'nn_NO');
100
+            $this->translator->addResource('mo', __DIR__.'/../translations/messages.nb_NO.mo', 'nb_NO');
101 101
         }
102 102
 
103 103
         return $this->translator;
Please login to merge, or discard this patch.
src/Rule/NoChangeInIntervalRule.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
 
47 47
         $this->constraints[] = new DateConstraint($start, $end, $weight);
48 48
 
49
-        StableSort::usort($this->constraints, static function (DateConstraint $a, DateConstraint $b): int {
49
+        StableSort::usort($this->constraints, static function(DateConstraint $a, DateConstraint $b): int {
50 50
             return $b->getWeight() <=> $a->getWeight();
51 51
         });
52 52
 
Please login to merge, or discard this patch.