@@ -16,14 +16,14 @@ |
||
| 16 | 16 | /** |
| 17 | 17 | * Export the config file |
| 18 | 18 | * php artisan vendor:publish --provider="Sreedev\Slack\SlackServiceProvider" --tag="config" |
| 19 | - **/ |
|
| 19 | + **/ |
|
| 20 | 20 | if ($this->app->runningInConsole()) { |
| 21 | 21 | |
| 22 | 22 | $this->publishes([ |
| 23 | - __DIR__.'/../config/config.php' => config_path('slack.php'), |
|
| 23 | + __DIR__.'/../config/config.php' => config_path('slack.php'), |
|
| 24 | 24 | ], 'config'); |
| 25 | 25 | |
| 26 | - } |
|
| 26 | + } |
|
| 27 | 27 | } |
| 28 | 28 | |
| 29 | 29 | /** |
@@ -62,16 +62,16 @@ |
||
| 62 | 62 | } |
| 63 | 63 | |
| 64 | 64 | |
| 65 | - /** |
|
| 66 | - * Performs the underlying HTTP request. Not very exciting. |
|
| 67 | - * |
|
| 68 | - * @param string $http_verb The HTTP verb to use: get, post, put, patch, delete |
|
| 69 | - * @param string $method The API method to be called |
|
| 70 | - * @param array $args Assoc array of parameters to be passed |
|
| 71 | - * @param int $timeout |
|
| 72 | - * |
|
| 73 | - * @return array|false Assoc array of decoded result |
|
| 74 | - */ |
|
| 65 | + /** |
|
| 66 | + * Performs the underlying HTTP request. Not very exciting. |
|
| 67 | + * |
|
| 68 | + * @param string $http_verb The HTTP verb to use: get, post, put, patch, delete |
|
| 69 | + * @param string $method The API method to be called |
|
| 70 | + * @param array $args Assoc array of parameters to be passed |
|
| 71 | + * @param int $timeout |
|
| 72 | + * |
|
| 73 | + * @return array|false Assoc array of decoded result |
|
| 74 | + */ |
|
| 75 | 75 | public function makeRequest($http_verb, $method, $args = array(), $timeout = self::TIMEOUT) |
| 76 | 76 | { |
| 77 | 77 | if( $this->api_token == '') |