Skip to content

Commit 87a87c1

Browse files
committed
Deprecated error is deprecated via E_USER_DEPRECATED
1 parent 27c61ba commit 87a87c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/phpFastCache/CacheManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ public static function setNamespacePath($path)
193193
*/
194194
public static function setup($name, $value = '')
195195
{
196-
trigger_error('Method "setup" is deprecated and will be removed in V6 Use method "setDefaultConfig" instead.');
196+
trigger_error('Method "setup" is deprecated and will be removed in V6 Use method "setDefaultConfig" instead.', E_USER_DEPRECATED);
197197
self::setDefaultConfig($name, $value);
198198
}
199199

0 commit comments

Comments
 (0)