@@ -48,7 +48,7 @@ discard block |
||
48 | 48 | parent::offsetSet($offset, $value); |
49 | 49 | |
50 | 50 | // Remove playbacks when they are done playing |
51 | - $value->oncePlaybackFinished(function (PlaybackFinished $playbackFinished) use ($value) { |
|
51 | + $value->oncePlaybackFinished(function(PlaybackFinished $playbackFinished) use ($value) { |
|
52 | 52 | if ($playbackFinished->getPlayback()->getId() === $value->getId()) { |
53 | 53 | $key = array_search($value, $this->getArrayCopy()); |
54 | 54 | if ($key !== false) { |
@@ -70,7 +70,7 @@ discard block |
||
70 | 70 | |
71 | 71 | // Remove playbacks when they are done playing |
72 | 72 | $this->phparia->getWsClient()->once('PlaybackFinished', |
73 | - function (PlaybackFinished $playbackFinished) use ($value) { |
|
73 | + function(PlaybackFinished $playbackFinished) use ($value) { |
|
74 | 74 | if ($playbackFinished->getPlayback()->getId() === $value->getId()) { |
75 | 75 | $key = array_search($value, $this->getArrayCopy()); |
76 | 76 | if ($key !== false) { |