Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
imanghafoori1 authored and StyleCIBot committed Jul 8, 2020
1 parent 6c59398 commit 4bd8b48
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 4bd8b48

Please sign in to comment.