Completed
Push — master ( 75110a...499ef6 )
by Patrick
01:20
created
src/Note.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -25,12 +25,12 @@
 block discarded – undo
25 25
         '' => self::ACCIDENTAL_NATURAL,
26 26
         self::PATTERN_ACCIDENTAL_FLAT => self::ACCIDENTAL_FLAT,
27 27
         self::PATTERN_ACCIDENTAL_SHARP => self::ACCIDENTAL_SHARP,
28
-        '(\-|' . self::PATTERN_ACCIDENTAL_QUARTER . self::PATTERN_ACCIDENTAL_FLAT . ')' => self::ACCIDENTAL_QUARTER_FLAT,
29
-        '(\+|' . self::PATTERN_ACCIDENTAL_QUARTER . self::PATTERN_ACCIDENTAL_SHARP . ')' => self::ACCIDENTAL_QUARTER_SHARP,
30
-        '(
Please login to merge, or discard this patch.
src/HarmonicCalculator.php 2 patches
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -119,9 +119,9 @@
 block discarded – undo
119 119
      */
120 120
     private function getPhysicalStringLength(Harmonic $harmonic): float
121 121
     {
122
-      $string = $harmonic->getString();
122
+        $string = $harmonic->getString();
123 123
 
124
-      return $string instanceof InstrumentStringInterface
124
+        return $string instanceof InstrumentStringInterface
125 125
           ? $string->getPhysicalLength()
126 126
           : 500.0;
127 127
     }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
             );
32 32
         }
33 33
 
34
-        $harmonics = array_filter($harmonics, function (Harmonic $harmonic) {
34
+        $harmonics = array_filter($harmonics, function(Harmonic $harmonic) {
35 35
             return $this->validatePhysicalDistance($harmonic);
36 36
         });
37 37
 
Please login to merge, or discard this patch.