Skip to content

Commit d8b328c

Browse files
committed
Small code fixes
1 parent 7cdaf64 commit d8b328c

File tree

6 files changed

+5
-4
lines changed

6 files changed

+5
-4
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ All multilingual fields will be with a language postfix, as in example:
3636

3737
Run the composer command:
3838

39-
`composer require itstructure/laravel-multilingual-tools "~1.0.0"`
39+
`composer require itstructure/laravel-multilingual-tools "~1.0.1"`
4040

4141
### 3.2 If you are testing this package from local server directory
4242

changelog.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
### CHANGE LOG:
22

3+
**1.0.1 September 3, 2020:**
4+
- Small code fixes.
5+
36
**1.0.0 September 3, 2020:**
47
- Create package.

src/Commands/DatabaseCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ public function handle()
6161
default:
6262
$this->error('Invalid "only" argument value!');
6363
return;
64-
break;
6564
}
6665

6766
} else {

src/Commands/PublishCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,6 @@ public function handle()
5454
default:
5555
$this->error('Invalid "only" argument value!');
5656
return;
57-
break;
5857
}
5958

6059
} else {

src/MultServiceProvider.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22

33
namespace Itstructure\Mult;
44

5-
use Illuminate\Support\Facades\View;
65
use Illuminate\Support\ServiceProvider;
76
use Itstructure\Mult\Commands\{PublishCommand, DatabaseCommand};
87

src/Traits/MultilingualModelTrait.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
*
1515
* @method HasMany hasMany($related, $foreignKey = null, $localKey = null)
1616
* @method HasOne hasOne($related, $foreignKey = null, $localKey = null)
17+
* @method bool isFillable($key)
1718
*
1819
* @package Itstructure\Mult\Traits
1920
*

0 commit comments

Comments
 (0)