update webpatser/laravel-uuid to version 3
Some checks failed
abc-api/abcParser/pipeline/head There was a failure building this commit

This commit is contained in:
2020-06-20 12:36:34 -04:00
parent a530e8fd78
commit 2cdf7dd1cf
94 changed files with 1846 additions and 1848 deletions

7
src/Domain/Modules/Interpreter/Lexicon/Tempo.php Normal file → Executable file
View File

@@ -1,10 +1,9 @@
<?php
namespace XaiCorp\AbcParser\Domain\Modules\Interpreter\Lexicon;
use Closure;
use Enzyme\Axiom\Atoms\StringAtom;
use XaiCorp\AbcParser\Domain\Atoms\UnsignedIntegerAtom;
use XaiCorp\AbcParser\Domain\Core\TuneBuilder;
use XaiCorp\AbcParser\Domain\Modules\Interpreter\Builder;
use XaiCorp\AbcParser\Domain\Modules\Interpreter\Context;
class Tempo implements Lex
@@ -27,10 +26,10 @@ class Tempo implements Lex
* @return mixed
* @throws \Enzyme\Axiom\Exceptions\AtomException
*/
public function handle(Context $context, \Closure $next)
public function handle(Context $context, Closure $next)
{
$line = $context->current();
list($key, $data) = $this->getKeyDataFromLine($line);
[$key, $data] = $this->getKeyDataFromLine($line);
if ($key === 'Q') {
$this->builder->addTempo(new StringAtom($data));