| 1 | <?php | ||
| 17 | class MonitorTask extends Process | ||
| 18 | { | ||
| 19 | /** | ||
| 20 | * @var ReaderInterface | ||
| 21 | */ | ||
| 22 | protected $reader; | ||
| 23 | |||
| 24 | /** | ||
| 25 | * @var FilterInterface | ||
| 26 | */ | ||
| 27 | protected $filter; | ||
| 28 | |||
| 29 | /** | ||
| 30 | * @var NotificationInterface | ||
| 31 | */ | ||
| 32 | protected $notify; | ||
| 33 | |||
| 34 | /** | ||
| 35 | * @param ReaderInterface $reader | ||
| 36 | * @param FilterInterface $filter | ||
| 37 | * @param NotificationInterface $notify | ||
| 38 | */ | ||
| 39 | public function __construct( | ||
| 52 | |||
| 53 | /** | ||
| 54 | * sub process run | ||
| 55 | */ | ||
| 56 | public function run() | ||
| 71 | |||
| 72 | protected function signalHandler($signal) | ||
| 83 | } | 
As per the PSR-2 coding standard, there must not be a space in front of the colon in case statements.
To learn more about the PSR-2 coding standard, please refer to the PHP-Fig.