We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a059019 commit 5a19490Copy full SHA for 5a19490
src/Taggable.php
@@ -62,11 +62,6 @@ public function getTagsAttribute()
62
*/
63
public function tag($tagNames)
64
{
65
- if(!is_array($tagNames)) {
66
- $tagNames = func_get_args();
67
- array_shift($tagNames);
68
- }
69
-
70
$tagNames = static::$taggingUtility->makeTagArray($tagNames);
71
72
foreach($tagNames as $tagName) {
@@ -131,11 +126,6 @@ public function untag($tagNames=null)
131
126
132
127
public function retag($tagNames)
133
128
134
135
136
137
138
139
129
140
130
$currentTagNames = $this->tagNames();
141
0 commit comments