Skip to content

Commit

Permalink
Remove unneeded "{@inheritdoc}" annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
clue committed Nov 10, 2017
1 parent e360c73 commit f4e9322
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 166 deletions.
39 changes: 0 additions & 39 deletions src/ExtEventLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@ function ($signal) {
$this->createStreamCallback();
}

/**
* {@inheritdoc}
*/
public function addReadStream($stream, callable $listener)
{
$key = (int) $stream;
Expand All @@ -72,9 +69,6 @@ public function addReadStream($stream, callable $listener)
}
}

/**
* {@inheritdoc}
*/
public function addWriteStream($stream, callable $listener)
{
$key = (int) $stream;
Expand All @@ -85,9 +79,6 @@ public function addWriteStream($stream, callable $listener)
}
}

/**
* {@inheritdoc}
*/
public function removeReadStream($stream)
{
$key = (int) $stream;
Expand All @@ -98,9 +89,6 @@ public function removeReadStream($stream)
}
}

/**
* {@inheritdoc}
*/
public function removeWriteStream($stream)
{
$key = (int) $stream;
Expand All @@ -127,9 +115,6 @@ private function removeStream($stream)
}
}

/**
* {@inheritdoc}
*/
public function addTimer($interval, callable $callback)
{
$timer = new Timer($interval, $callback, false);
Expand All @@ -139,9 +124,6 @@ public function addTimer($interval, callable $callback)
return $timer;
}

/**
* {@inheritdoc}
*/
public function addPeriodicTimer($interval, callable $callback)
{
$timer = new Timer($interval, $callback, true);
Expand All @@ -151,9 +133,6 @@ public function addPeriodicTimer($interval, callable $callback)
return $timer;
}

/**
* {@inheritdoc}
*/
public function cancelTimer(TimerInterface $timer)
{
if ($this->isTimerActive($timer)) {
Expand All @@ -162,41 +141,26 @@ public function cancelTimer(TimerInterface $timer)
}
}

/**
* {@inheritdoc}
*/
public function isTimerActive(TimerInterface $timer)
{
return $this->timerEvents->contains($timer);
}

/**
* {@inheritdoc}
*/
public function futureTick(callable $listener)
{
$this->futureTickQueue->add($listener);
}

/**
* {@inheritdoc}
*/
public function addSignal($signal, callable $listener)
{
$this->signals->add($signal, $listener);
}

/**
* {@inheritdoc}
*/
public function removeSignal($signal, callable $listener)
{
$this->signals->remove($signal, $listener);
}

/**
* {@inheritdoc}
*/
public function run()
{
$this->running = true;
Expand All @@ -215,9 +179,6 @@ public function run()
}
}

/**
* {@inheritdoc}
*/
public function stop()
{
$this->running = false;
Expand Down
39 changes: 0 additions & 39 deletions src/LibEvLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ function ($signal) {
);
}

/**
* {@inheritdoc}
*/
public function addReadStream($stream, callable $listener)
{
if (isset($this->readEvents[(int) $stream])) {
Expand All @@ -73,9 +70,6 @@ public function addReadStream($stream, callable $listener)
$this->readEvents[(int) $stream] = $event;
}

/**
* {@inheritdoc}
*/
public function addWriteStream($stream, callable $listener)
{
if (isset($this->writeEvents[(int) $stream])) {
Expand All @@ -92,9 +86,6 @@ public function addWriteStream($stream, callable $listener)
$this->writeEvents[(int) $stream] = $event;
}

/**
* {@inheritdoc}
*/
public function removeReadStream($stream)
{
$key = (int) $stream;
Expand All @@ -105,9 +96,6 @@ public function removeReadStream($stream)
}
}

/**
* {@inheritdoc}
*/
public function removeWriteStream($stream)
{
$key = (int) $stream;
Expand All @@ -118,9 +106,6 @@ public function removeWriteStream($stream)
}
}

/**
* {@inheritdoc}
*/
public function addTimer($interval, callable $callback)
{
$timer = new Timer( $interval, $callback, false);
Expand All @@ -140,9 +125,6 @@ public function addTimer($interval, callable $callback)
return $timer;
}

/**
* {@inheritdoc}
*/
public function addPeriodicTimer($interval, callable $callback)
{
$timer = new Timer($interval, $callback, true);
Expand All @@ -158,9 +140,6 @@ public function addPeriodicTimer($interval, callable $callback)
return $timer;
}

/**
* {@inheritdoc}
*/
public function cancelTimer(TimerInterface $timer)
{
if (isset($this->timerEvents[$timer])) {
Expand All @@ -169,41 +148,26 @@ public function cancelTimer(TimerInterface $timer)
}
}

/**
* {@inheritdoc}
*/
public function isTimerActive(TimerInterface $timer)
{
return $this->timerEvents->contains($timer);
}

/**
* {@inheritdoc}
*/
public function futureTick(callable $listener)
{
$this->futureTickQueue->add($listener);
}

/**
* {@inheritdoc}
*/
public function addSignal($signal, callable $listener)
{
$this->signals->add($signal, $listener);
}

/**
* {@inheritdoc}
*/
public function removeSignal($signal, callable $listener)
{
$this->signals->remove($signal, $listener);
}

/**
* {@inheritdoc}
*/
public function run()
{
$this->running = true;
Expand All @@ -222,9 +186,6 @@ public function run()
}
}

/**
* {@inheritdoc}
*/
public function stop()
{
$this->running = false;
Expand Down
40 changes: 0 additions & 40 deletions src/LibEventLoop.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use Event;
use EventBase;
use React\EventLoop\Signal\Pcntl;
use React\EventLoop\Tick\FutureTickQueue;
use React\EventLoop\Timer\Timer;
use React\EventLoop\Timer\TimerInterface;
Expand Down Expand Up @@ -64,9 +63,6 @@ function ($signal) {
$this->createStreamCallback();
}

/**
* {@inheritdoc}
*/
public function addReadStream($stream, callable $listener)
{
$key = (int) $stream;
Expand All @@ -77,9 +73,6 @@ public function addReadStream($stream, callable $listener)
}
}

/**
* {@inheritdoc}
*/
public function addWriteStream($stream, callable $listener)
{
$key = (int) $stream;
Expand All @@ -90,9 +83,6 @@ public function addWriteStream($stream, callable $listener)
}
}

/**
* {@inheritdoc}
*/
public function removeReadStream($stream)
{
$key = (int) $stream;
Expand All @@ -103,9 +93,6 @@ public function removeReadStream($stream)
}
}

/**
* {@inheritdoc}
*/
public function removeWriteStream($stream)
{
$key = (int) $stream;
Expand Down Expand Up @@ -135,9 +122,6 @@ private function removeStream($stream)
}
}

/**
* {@inheritdoc}
*/
public function addTimer($interval, callable $callback)
{
$timer = new Timer($interval, $callback, false);
Expand All @@ -147,9 +131,6 @@ public function addTimer($interval, callable $callback)
return $timer;
}

/**
* {@inheritdoc}
*/
public function addPeriodicTimer($interval, callable $callback)
{
$timer = new Timer($interval, $callback, true);
Expand All @@ -159,9 +140,6 @@ public function addPeriodicTimer($interval, callable $callback)
return $timer;
}

/**
* {@inheritdoc}
*/
public function cancelTimer(TimerInterface $timer)
{
if ($this->isTimerActive($timer)) {
Expand All @@ -174,41 +152,26 @@ public function cancelTimer(TimerInterface $timer)
}
}

/**
* {@inheritdoc}
*/
public function isTimerActive(TimerInterface $timer)
{
return $this->timerEvents->contains($timer);
}

/**
* {@inheritdoc}
*/
public function futureTick(callable $listener)
{
$this->futureTickQueue->add($listener);
}

/**
* {@inheritdoc}
*/
public function addSignal($signal, callable $listener)
{
$this->signals->add($signal, $listener);
}

/**
* {@inheritdoc}
*/
public function removeSignal($signal, callable $listener)
{
$this->signals->remove($signal, $listener);
}

/**
* {@inheritdoc}
*/
public function run()
{
$this->running = true;
Expand All @@ -227,9 +190,6 @@ public function run()
}
}

/**
* {@inheritdoc}
*/
public function stop()
{
$this->running = false;
Expand Down
Loading

0 comments on commit f4e9322

Please sign in to comment.