StocksNew/vendor/php-flasher/flasher/.phpstorm.meta.php
Sampanna Rimal 53c0140f58 first commit
2024-08-27 17:48:06 +05:45

25 lines
1.1 KiB
PHP

<?php
namespace PHPSTORM_META;
override(Envelope::get(0), type(0));
override(\Flasher\Prime\FlasherInterface::create(), map([
'flasher' => \Flasher\Prime\Factory\NotificationFactory::class,
'theme.' => \Flasher\Prime\Factory\NotificationFactory::class,
]));
override(\Flasher\Prime\FlasherInterface::using(), map([
'flasher' => \Flasher\Prime\Factory\NotificationFactory::class,
'theme.' => \Flasher\Prime\Factory\NotificationFactory::class,
]));
registerArgumentsSet('types', 'success', 'error', 'warning', 'info');
expectedArguments(\Flasher\Prime\Notification\NotificationBuilderInterface::type(), 0, argumentsSet('types'));
expectedArguments(\Flasher\Prime\Notification\NotificationBuilderInterface::addFlash(), 0, argumentsSet('types'));
expectedArguments(\Flasher\Prime\Notification\NotificationInterface::setType(), 0, argumentsSet('types'));
expectedReturnValues(\Flasher\Prime\Notification\NotificationInterface::getType(), argumentsSet('types'));
expectedArguments(\Flasher\Prime\Notification\NotificationBuilderInterface::handler(), 0, 'flasher', 'toastr', 'noty', 'notyf', 'pnotify', 'sweetalert');