Skip to content

Commit

Permalink
Oprava závislosti na Nette/Utils (#19)
Browse files Browse the repository at this point in the history
* Update Markers.php

* Správná závislost na Nette/Utils
  • Loading branch information
krekos authored and Olicek committed Jun 28, 2018
1 parent 516adad commit 8dd9d32
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@
}
],
"require": {
"php": ">=5.4.0"
"php": ">=5.4.0",
"nette/utils": "^2.5.0"
},
"require-dev": {
"nette/nette": ">=2.1",
Expand All @@ -25,4 +26,4 @@
"Oli\\GoogleAPI\\": "src"
}
}
}
}
5 changes: 3 additions & 2 deletions src/Markers.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Oli\GoogleAPI;

use Nette\Object;
use Nette\SmartObject;
use Nette\Utils\Strings;
use Oli\GoogleAPI\Marker\Icon;

Expand All @@ -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';

/**
Expand Down

0 comments on commit 8dd9d32

Please sign in to comment.