mirror of
https://github.com/barryvdh/laravel-ide-helper.git
synced 2026-08-19 18:43:12 +00:00
Fixes for Travis.
This commit is contained in:
+4
-4
@@ -48,7 +48,7 @@ class Eloquent
|
|||||||
foreach ($mixins as $m) {
|
foreach ($mixins as $m) {
|
||||||
$mixin = $m->getContent();
|
$mixin = $m->getContent();
|
||||||
|
|
||||||
if(isset($expectedMixins[$mixin])) {
|
if (isset($expectedMixins[$mixin])) {
|
||||||
$command->info('Tag Exists: @mixin ' . $mixin . ' in ' . $class);
|
$command->info('Tag Exists: @mixin ' . $mixin . ' in ' . $class);
|
||||||
|
|
||||||
$expectedMixins[$mixin] = true;
|
$expectedMixins[$mixin] = true;
|
||||||
@@ -56,8 +56,8 @@ class Eloquent
|
|||||||
}
|
}
|
||||||
|
|
||||||
$changed = false;
|
$changed = false;
|
||||||
foreach($expectedMixins as $expectedMixin => $present) {
|
foreach ($expectedMixins as $expectedMixin => $present) {
|
||||||
if($present === false) {
|
if ($present === false) {
|
||||||
$phpdoc->appendTag(Tag::createInstance('@mixin ' . $expectedMixin, $phpdoc));
|
$phpdoc->appendTag(Tag::createInstance('@mixin ' . $expectedMixin, $phpdoc));
|
||||||
|
|
||||||
$changed = true;
|
$changed = true;
|
||||||
@@ -65,7 +65,7 @@ class Eloquent
|
|||||||
}
|
}
|
||||||
|
|
||||||
// If nothing's changed, stop here.
|
// If nothing's changed, stop here.
|
||||||
if(!$changed) {
|
if (!$changed) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user