From 7514c6c986d3f4b7e31170111f47b8814fe40fea Mon Sep 17 00:00:00 2001 From: Dave Hulbert Date: Thu, 9 May 2013 10:07:09 +0200 Subject: [PATCH] Implicit method visibility (instead of implied public) --- Prototype/Prototype.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Prototype/Prototype.php b/Prototype/Prototype.php index 00036b2..ba94e13 100644 --- a/Prototype/Prototype.php +++ b/Prototype/Prototype.php @@ -21,7 +21,7 @@ abstract class BookPrototype * @abstract * @return void */ - abstract function __clone(); + abstract public function __clone(); public function getTitle() { @@ -62,4 +62,4 @@ $barPrototype = new BarBookPrototype(); for ($i = 0; $i < 10000; $i++) { $book = clone $fooPrototype; $book->setTitle('Foo Book No ' . $i); -} \ No newline at end of file +}