Skip to content

Commit

Permalink
Merge pull request #13 from imanghafoori1/analysis-4xpeJ1
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
imanghafoori1 committed Jul 8, 2020
2 parents 6c59398 + 4bd8b48 commit 31badab
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 9 deletions.
4 changes: 0 additions & 4 deletions src/Events/VideoStreamEnded.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@

namespace Iman\Streamer\Events;

use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
use Iman\Streamer\Video;
Expand Down Expand Up @@ -37,7 +34,6 @@ public function getVideo(): Video
return $this->video;
}


/**
* Get the channels the event should broadcast on.
*
Expand Down
4 changes: 0 additions & 4 deletions src/Events/VideoStreamStarted.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,8 @@

namespace Iman\Streamer\Events;

use Illuminate\Broadcasting\Channel;
use Illuminate\Broadcasting\InteractsWithSockets;
use Illuminate\Broadcasting\PresenceChannel;
use Illuminate\Broadcasting\PrivateChannel;
use Illuminate\Contracts\Broadcasting\ShouldBroadcast;
use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;
use Iman\Streamer\Video;
Expand Down Expand Up @@ -38,7 +35,6 @@ public function getVideo(): Video
return $this->video;
}


/**
* Get the channels the event should broadcast on.
*
Expand Down
1 change: 0 additions & 1 deletion src/VideoStreamer.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ private function stream()
$i = $this->start;
set_time_limit(0);
while (! feof($this->stream) && $i <= $this->end) {

$this->video->setProgress($i);

$bytesToRead = $this->buffer;
Expand Down

0 comments on commit 31badab

Please sign in to comment.