Skip to content

Commit acf4291

Browse files
authored
[6.0] Toolbar Deprecations (#47346)
1 parent 2b523f1 commit acf4291

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libraries/src/Toolbar/Toolbar.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ public function appendButton($button, ...$args)
198198

199199
@trigger_error(
200200
\sprintf(
201-
'%s::appendButton() should only accept %s instance in Joomla 6.0.',
201+
'%s::appendButton() should only accept %s instance in Joomla 7.0.',
202202
static::class,
203203
ToolbarButton::class
204204
),
@@ -275,7 +275,7 @@ public function prependButton($button, ...$args)
275275

276276
@trigger_error(
277277
\sprintf(
278-
'%s::prependButton() should only accept %s instance in Joomla 6.0.',
278+
'%s::prependButton() should only accept %s instance in Joomla 7.0.',
279279
static::class,
280280
ToolbarButton::class
281281
),
@@ -409,7 +409,7 @@ public function addButtonPath($path)
409409
{
410410
@trigger_error(
411411
\sprintf(
412-
'Registering lookup paths for toolbar buttons is deprecated and will be removed in Joomla 6.0.'
412+
'Registering lookup paths for toolbar buttons is deprecated and will be removed in Joomla 7.0.'
413413
. ' %1$s objects should be autoloaded or a custom %2$s implementation supporting path lookups provided.',
414414
ToolbarButton::class,
415415
ToolbarFactoryInterface::class
@@ -446,7 +446,7 @@ public function getButtonPath(): array
446446
{
447447
@trigger_error(
448448
\sprintf(
449-
'Lookup paths for %s objects is deprecated and will be removed in Joomla 6.0.',
449+
'Lookup paths for %s objects is deprecated and will be removed in Joomla 7.0.',
450450
ToolbarButton::class
451451
),
452452
E_USER_DEPRECATED

0 commit comments

Comments
 (0)