Skip to content
This repository has been archived by the owner on May 28, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3 from findbrok/analysis-8KRMeQ
Browse files Browse the repository at this point in the history
Applied fixes from StyleCI
  • Loading branch information
percymamedy authored Nov 5, 2016
2 parents d5480cf + 1572b31 commit 37e915f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/AbstractTranslator.php
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ public function usingModel($modelName = '')
//Set the model id
$this->modelId = ($modelName == '') ?
config('watson-translate.models.default') :
config('watson-translate.models.'.$modelName);
config('watson-translate.models.' . $modelName);
//return the translator
return $this;
}
Expand Down
2 changes: 1 addition & 1 deletion src/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public function getModelDetails()
{
//Send request to Watson
$this->results = $this->makeBridge()
->get('v2/models/'.$this->getModelId())
->get('v2/models/' . $this->getModelId())
->getBody()
->getContents();
//Return translator object
Expand Down
4 changes: 2 additions & 2 deletions src/WatsonTranslateServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ public function boot()
{
//Publish config file
$this->publishes([
__DIR__.'/config/watson-translate.php' => config_path('watson-translate.php'),
__DIR__ . '/config/watson-translate.php' => config_path('watson-translate.php'),
], 'config');
}

Expand All @@ -43,7 +43,7 @@ public function boot()
public function register()
{
//Merge config file
$this->mergeConfigFrom(__DIR__.'/config/watson-translate.php', 'watson-translate');
$this->mergeConfigFrom(__DIR__ . '/config/watson-translate.php', 'watson-translate');
//Register Bindings
$this->registerBinding();
//Add Facades to the Translator service
Expand Down

0 comments on commit 37e915f

Please sign in to comment.