Skip to content

Commit 5a19490

Browse files
committed
Fixes #77 #79
1 parent a059019 commit 5a19490

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/Taggable.php

-10
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,6 @@ public function getTagsAttribute()
6262
*/
6363
public function tag($tagNames)
6464
{
65-
if(!is_array($tagNames)) {
66-
$tagNames = func_get_args();
67-
array_shift($tagNames);
68-
}
69-
7065
$tagNames = static::$taggingUtility->makeTagArray($tagNames);
7166

7267
foreach($tagNames as $tagName) {
@@ -131,11 +126,6 @@ public function untag($tagNames=null)
131126
*/
132127
public function retag($tagNames)
133128
{
134-
if(!is_array($tagNames)) {
135-
$tagNames = func_get_args();
136-
array_shift($tagNames);
137-
}
138-
139129
$tagNames = static::$taggingUtility->makeTagArray($tagNames);
140130
$currentTagNames = $this->tagNames();
141131

0 commit comments

Comments
 (0)