FML Update
This commit is contained in:
1 parent
edd62f0eb4
commit
8b3667b252
75 files changed
+392
-370
No files matched your search
@@ -28,7 +28,7 @@ class FrameModel implements Container, Renderable {
|
||||
* Set Model id
|
||||
*
|
||||
* @param string $modelId Model id
|
||||
* @return \FML\Elements\FrameModel|static
|
||||
* @return static
|
||||
*/
|
||||
public function setId($modelId) {
|
||||
$this->modelId = (string)$modelId;
|
||||
@@ -51,7 +51,7 @@ class FrameModel implements Container, Renderable {
|
||||
*/
|
||||
public function checkId() {
|
||||
if (!$this->modelId) {
|
||||
$this->setId(new UniqueID());
|
||||
$this->setId(UniqueID::create());
|
||||
}
|
||||
return $this;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user