diff --git a/composer.json b/composer.json index 23bdb68..981fb90 100644 --- a/composer.json +++ b/composer.json @@ -5,7 +5,7 @@ "license": "MIT", "homepage": "https://juzaweb.com", "require": { - "php": "^7.4|^8.0" + "php": "^8.0|^8.1" }, "require-dev": { "laravel/laravel": "^6.0 | ^7.0 | ^8.0", @@ -26,7 +26,8 @@ "juzaweb": { "name": "Notification", "domain": "juno", - "cms_min": "1.0.9" + "cms_min": "3.0", + "version": "1.0.1" } } -} \ No newline at end of file +} diff --git a/src/Commands/SendNotify.php b/src/Commands/SendNotify.php index 3315b3f..e9b4bf6 100644 --- a/src/Commands/SendNotify.php +++ b/src/Commands/SendNotify.php @@ -4,13 +4,13 @@ use Illuminate\Console\Command; use Juzaweb\Backend\Models\ManualNotification; -use Juzaweb\Backend\SendNotification; +use Juzaweb\CMS\Support\SendNotification; class SendNotify extends Command { protected $signature = 'notify:send'; - - protected $limit = 5; + + protected int $limit = 5; public function handle() {