Completed
Push — master ( 2cdbb4...116241 )
by Sergey
03:02
created
src/TextToSpeechAbstract.php 2 patches
Doc Comments   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -45,7 +45,6 @@  discard block
 block discarded – undo
45 45
     protected $logger;
46 46
 
47 47
     /**
48
-     * @param LoggerInterface $cache
49 48
      * @param string[] $options
50 49
      */
51 50
     public function __construct(LoggerInterface $logger = null, array $options = [])
@@ -142,6 +141,9 @@  discard block
 block discarded – undo
142 141
         return $this->results;
143 142
     }
144 143
 
144
+    /**
145
+     * @param string $text
146
+     */
145 147
     private function calcCacheKey($text)
146 148
     {
147 149
         return sha1($text);
Please login to merge, or discard this patch.
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
                     mkdir($fileName, 0755, true);
119 119
                 }
120 120
 
121
-                 $fileName .= '/' . $result->getCacheKey() . '.mp3';
121
+                    $fileName .= '/' . $result->getCacheKey() . '.mp3';
122 122
             } else {
123 123
                 $fileName = tempnam(sys_get_temp_dir(), 'tts-') . '.mp3';
124 124
             }
Please login to merge, or discard this patch.