Skip to content

Commit

Permalink
Merge pull request #8 from hnhdigital-os/analysis-BMa2Mg
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
RoccoHoward authored Aug 16, 2021
2 parents 97c3046 + c9a1814 commit cda53a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/ServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ private function registerBladeDirectives()
}

// @str_upper => strtoupper
blade::directive('str_upper', function ($text) use ($function_name) {
blade::directive('str_upper', function ($text) {
if (substr($text, 0, 1) !== '$') {
$text = "'$text'";
}
Expand All @@ -241,7 +241,7 @@ private function registerBladeDirectives()
});

// @str_lower => strtolower
blade::directive('str_lower', function ($text) use ($function_name) {
blade::directive('str_lower', function ($text) {
if (substr($text, 0, 1) !== '$') {
$text = "'$text'";
}
Expand Down
3 changes: 1 addition & 2 deletions src/Traits/HasCompositePrimaryKey.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Illuminate\Database\Eloquent\Builder;

/**
* To use this trait, you must install it using:-
* To use this trait, you must install it using:-.
*
* ```
* use App\Models\Traits\SummaryKeyTrait;
Expand All @@ -28,7 +28,6 @@
*
* getAttribute is overridden as this method can be called and an exception thrown as $key is now array
* when been called with the $primaryKey.
*
*/
trait HasCompositePrimaryKey
{
Expand Down

0 comments on commit cda53a2

Please sign in to comment.