Skip to content

Commit 31badab

Browse files
Merge pull request #13 from imanghafoori1/analysis-4xpeJ1
Apply fixes from StyleCI
2 parents 6c59398 + 4bd8b48 commit 31badab

File tree

3 files changed

+0
-9
lines changed

3 files changed

+0
-9
lines changed

src/Events/VideoStreamEnded.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@
22

33
namespace Iman\Streamer\Events;
44

5-
use Illuminate\Broadcasting\Channel;
65
use Illuminate\Broadcasting\InteractsWithSockets;
7-
use Illuminate\Broadcasting\PresenceChannel;
86
use Illuminate\Broadcasting\PrivateChannel;
9-
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
107
use Illuminate\Foundation\Events\Dispatchable;
118
use Illuminate\Queue\SerializesModels;
129
use Iman\Streamer\Video;
@@ -37,7 +34,6 @@ public function getVideo(): Video
3734
return $this->video;
3835
}
3936

40-
4137
/**
4238
* Get the channels the event should broadcast on.
4339
*

src/Events/VideoStreamStarted.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,8 @@
22

33
namespace Iman\Streamer\Events;
44

5-
use Illuminate\Broadcasting\Channel;
65
use Illuminate\Broadcasting\InteractsWithSockets;
7-
use Illuminate\Broadcasting\PresenceChannel;
86
use Illuminate\Broadcasting\PrivateChannel;
9-
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
107
use Illuminate\Foundation\Events\Dispatchable;
118
use Illuminate\Queue\SerializesModels;
129
use Iman\Streamer\Video;
@@ -38,7 +35,6 @@ public function getVideo(): Video
3835
return $this->video;
3936
}
4037

41-
4238
/**
4339
* Get the channels the event should broadcast on.
4440
*

src/VideoStreamer.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ private function stream()
113113
$i = $this->start;
114114
set_time_limit(0);
115115
while (! feof($this->stream) && $i <= $this->end) {
116-
117116
$this->video->setProgress($i);
118117

119118
$bytesToRead = $this->buffer;

0 commit comments

Comments
 (0)