Skip to content

Commit 62e788a

Browse files
authored
Merge pull request #410 from Geolim4/final
Deprecated error is deprecated via E_USER_DEPRECATED
2 parents fd46281 + ede0c26 commit 62e788a

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)