From 66c4716a8a8303cd4ed9e048f144191e8b9869df Mon Sep 17 00:00:00 2001 From: Moein Alizadeh Date: Sat, 2 Jun 2018 11:01:11 +0430 Subject: [PATCH] fix some reported bugs --- composer.json | 4 ++-- src/Smsir.php | 3 +-- src/config/smsir.php | 2 -- 3 files changed, 3 insertions(+), 6 deletions(-) diff --git a/composer.json b/composer.json index 4afd2fa..a5878dd 100644 --- a/composer.json +++ b/composer.json @@ -16,7 +16,7 @@ }, "require": { "guzzlehttp/guzzle": "~6.0", - "zendframework/zend-diactoros" : "1.4.*", - "symfony/psr-http-message-bridge" : "1.0.*" + "zendframework/zend-diactoros" : "1.*.*", + "symfony/psr-http-message-bridge" : "1.*.*" } } diff --git a/src/Smsir.php b/src/Smsir.php index 9706be0..15dac09 100644 --- a/src/Smsir.php +++ b/src/Smsir.php @@ -40,7 +40,6 @@ public static function DBlog($result, $messages, $numbers) { ]); } } - return var_dump($res); } } @@ -86,7 +85,7 @@ public static function getLines() * * @param $messages = Messages - Count must be equal with $numbers * @param $numbers = Numbers - must be equal with $messages - * @param null $sendDateTime = dont fill it if you want to send message now + * @param null $sendDateTime = don't fill it if you want to send message now * * @return mixed, return status */ diff --git a/src/config/smsir.php b/src/config/smsir.php index 8e698df..2c946c9 100644 --- a/src/config/smsir.php +++ b/src/config/smsir.php @@ -5,7 +5,6 @@ /* Important Settings */ // ====================================================================== - // never remove 'web', just put your middleware like auth or admin (if you have) here. eg: ['web','auth'] 'middlewares' => ['web'], // you can change default route from sms-admin to anything you want @@ -17,7 +16,6 @@ // Your sms.ir line number 'line-number' => env('SMSIR-LINE-NUMBER','Your Sms.ir Line Number'), // ====================================================================== - // set true if you want log to the database 'db-log' => true, // if you don't want to include admin panel routes set this to false