Skip to content

Commit b4c9b75

Browse files
author
vlassiuk
committed
function, of course
1 parent 8739c9f commit b4c9b75

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1202,7 +1202,7 @@ class Worker implements WorkableInterface, FeedableInterface {
12021202
}
12031203

12041204
class Robot implements WorkableInterface {
1205-
public void work() {
1205+
public function work() {
12061206
// ....working
12071207
}
12081208
}
@@ -1296,11 +1296,11 @@ class Manager {
12961296
/** @var Worker $worker **/
12971297
private $worker;
12981298

1299-
public void __construct(WorkerInterface $worker) {
1299+
public function __construct(WorkerInterface $worker) {
13001300
$this->worker = $worker;
13011301
}
13021302

1303-
public void manage() {
1303+
public function manage() {
13041304
$this->worker->work();
13051305
}
13061306
}

0 commit comments

Comments
 (0)