Skip to content

Commit 06606c6

Browse files
committed
adjust variable names to improve readability
1 parent 16738f4 commit 06606c6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Types/Article.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ class Article extends Type
1111

1212
protected string $type = 'article';
1313

14-
public function author(string $author)
14+
public function author(string $url)
1515
{
16-
$this->addProperty(self::PREFIX, 'author', $author);
16+
$this->addProperty(self::PREFIX, 'author', $url);
1717

1818
return $this;
1919
}

src/Types/Book.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ class Book extends Type
1111

1212
protected string $type = 'book';
1313

14-
public function author(string $author)
14+
public function author(string $url)
1515
{
16-
$this->addProperty(self::PREFIX, 'author', $author);
16+
$this->addProperty(self::PREFIX, 'author', $url);
1717

1818
return $this;
1919
}

0 commit comments

Comments
 (0)