From 8dd9d3285eeb12369f0bb7d7ead5a79b4d43f78a Mon Sep 17 00:00:00 2001 From: Krekos Date: Thu, 28 Jun 2018 23:59:56 +0200 Subject: [PATCH] =?UTF-8?q?Oprava=20z=C3=A1vislosti=20na=20Nette/Utils=20(?= =?UTF-8?q?#19)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Update Markers.php * Správná závislost na Nette/Utils --- composer.json | 5 +++-- src/Markers.php | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/composer.json b/composer.json index 5667933..924a662 100644 --- a/composer.json +++ b/composer.json @@ -13,7 +13,8 @@ } ], "require": { - "php": ">=5.4.0" + "php": ">=5.4.0", + "nette/utils": "^2.5.0" }, "require-dev": { "nette/nette": ">=2.1", @@ -25,4 +26,4 @@ "Oli\\GoogleAPI\\": "src" } } -} \ No newline at end of file +} diff --git a/src/Markers.php b/src/Markers.php index aa3f0b8..e953c30 100644 --- a/src/Markers.php +++ b/src/Markers.php @@ -8,7 +8,7 @@ namespace Oli\GoogleAPI; -use Nette\Object; +use Nette\SmartObject; use Nette\Utils\Strings; use Oli\GoogleAPI\Marker\Icon; @@ -18,9 +18,10 @@ * @package Oli\GoogleAPI * @see https://developers.google.com/maps/documentation/javascript/markers#complex_icons */ -class Markers extends Object +class Markers { + use SmartObject; const DROP = 'DROP', BOUNCE = 'BOUNCE'; /**