ReviewOS

also looking at this

ci-on/laravel-inspirational-quotes

Apply fixes from StyleCI

#2
Merged chris wants to merge analysis-XaMGdm into master
3 files +7 -7
src/QuoteFactory.phpmodified+2-2
Changes to src/QuoteFactory.php
@@ -12,11 +12,11 @@ class QuoteFactory
1212 [
1313 'quote' => 'When there is no desire, all things are at peace.',
1414 'author' => 'Laozi',
15 'avatar' => 'image'
15 'avatar' => 'image',
1616 ], [
1717 'quote' => 'Simplicity is the ultimate sophistication.',
1818 'author' => 'Leonardo da Vinci',
19 'avatar' => 'image'
19 'avatar' => 'image',
2020 ],
2121 ])->random();
2222 }
tests/QuoteFactoryTest.phpmodified+3-3
Changes to tests/QuoteFactoryTest.php
@@ -10,13 +10,13 @@ class QuoteFactoryTest extends TestCase
1010 [
1111 'quote' => 'When there is no desire, all things are at peace.',
1212 'author' => 'Laozi',
13 'avatar' => 'image'
13 'avatar' => 'image',
1414 ],
1515 [
1616 'quote' => 'Simplicity is the ultimate sophistication.',
1717 'author' => 'Leonardo da Vinci',
18 'avatar' => 'image'
19 ]
18 'avatar' => 'image',
19 ],
2020 ];
2121
2222 /** @test */
tests/TestCase.phpmodified+2-2
Changes to tests/TestCase.php
@@ -2,10 +2,10 @@
22
33namespace Cion\InspirationalQuotes\Tests;
44
5use Cion\InspirationalQuotes\QuoteFactory;
6use Cion\InspirationalQuotes\ServiceProvider;
57use Orchestra\Testbench\TestCase as BaseTestCase;
68use Cion\InspirationalQuotes\Facades\InspirationalQuote;
7use Cion\InspirationalQuotes\ServiceProvider;
8use Cion\InspirationalQuotes\QuoteFactory;
99
1010class TestCase extends BaseTestCase
1111{