Completed
Push — master ( af3ab7...be78bc )
by Patrick
02:17
created
src/Instrument/InstrumentBase.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@
 block discarded – undo
22 22
     public function __construct(array $stringFrequencies = null, float $stopLength = null)
23 23
     {
24 24
         if (null === $stringFrequencies) {
25
-            $stringFrequencies = array_map(function ($name) {
25
+            $stringFrequencies = array_map(function($name) {
26 26
                 return Note::fromName($name)->getFrequency();
27 27
             }, $this->getDefaultNames());
28 28
         }
Please login to merge, or discard this patch.
src/Note.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -259,7 +259,7 @@
 block discarded – undo
259 259
         $accidental = trim($accidental);
260 260
 
261 261
         foreach (self::$accidentalPatterns as $pattern => $replacement) {
262
-            if (preg_match('/^' . $pattern . '$/iu', $accidental)) {
262
+            if (preg_match('/^'.$pattern.'$/iu', $accidental)) {
263 263
                 return $replacement;
264 264
             }
265 265
         }
Please login to merge, or discard this patch.