Skip to content

Commit 02ed75f

Browse files
authored
Remove setText from SplitItem
1 parent 2e60a17 commit 02ed75f

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/MenuItem/SplitItem.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -303,12 +303,4 @@ public function getText() : string
303303
{
304304
throw new \BadMethodCallException(sprintf('Not supported on: %s', __CLASS__));
305305
}
306-
307-
/**
308-
* Nothing to set with SplitItem
309-
*/
310-
public function setText(string $text) : void
311-
{
312-
throw new \BadMethodCallException(sprintf('Not supported on: %s', __CLASS__));
313-
}
314306
}

0 commit comments

Comments
 (0)