Skip to content

Commit 8289aa8

Browse files
committed
fix var error
1 parent c02b69e commit 8289aa8

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

src/App/App.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -267,23 +267,23 @@ protected function bootAppFolder()
267267
public function id(string $id = null): string
268268
{
269269
if ($id) {
270-
$this->$id = $id;
270+
$this->id = $id;
271271
}
272272
return $this->id ??= $this->themeId();
273273
}
274274

275275
public function name(string $name = null): string
276276
{
277277
if ($name) {
278-
$this->$name = $name;
278+
$this->name = $name;
279279
}
280280
return $this->name ?? '';
281281
}
282282

283283
public function url(string $url = null): string
284284
{
285285
if ($url) {
286-
$this->$url = $url;
286+
$this->url = $url;
287287
}
288288
return $this->url ??= \untrailingslashit(c('WP_HOME') ?: \get_site_url());
289289
}
@@ -292,7 +292,7 @@ public function url(string $url = null): string
292292
public function timezone(string $timezone = null): string
293293
{
294294
if ($timezone) {
295-
$this->$timezone = $timezone;
295+
$this->timezone = $timezone;
296296
}
297297
return $this->timezone ??= 'UTC';
298298

0 commit comments

Comments
 (0)