From 1f357ba1ee7add93a00fa339c26d12f7dbf62882 Mon Sep 17 00:00:00 2001 From: Lupacescu Eduard Date: Wed, 22 Jan 2020 09:23:53 +0000 Subject: [PATCH] Apply fixes from StyleCI --- tests/FieldResolversTest.php | 1 - tests/Fixtures/BookPolicy.php | 4 ++-- tests/Migrations/2019_12_22_000006_create_books_table.php | 2 +- 3 files changed, 3 insertions(+), 4 deletions(-) diff --git a/tests/FieldResolversTest.php b/tests/FieldResolversTest.php index 373f95131..f4583f3bc 100644 --- a/tests/FieldResolversTest.php +++ b/tests/FieldResolversTest.php @@ -7,7 +7,6 @@ use Binaryk\LaravelRestify\Tests\Fixtures\BookRepository; /** - * @package Binaryk\LaravelRestify\Tests; * @author Eduard Lupacescu */ class FieldResolversTest extends IntegrationTest diff --git a/tests/Fixtures/BookPolicy.php b/tests/Fixtures/BookPolicy.php index 0a99bfe90..255a5665b 100644 --- a/tests/Fixtures/BookPolicy.php +++ b/tests/Fixtures/BookPolicy.php @@ -32,7 +32,7 @@ public function update($user, $book) } /** - * Determine if book can be shown + * Determine if book can be shown. */ public function show($user, $book) { @@ -40,7 +40,7 @@ public function show($user, $book) } /** - * Determine if books can be deleted + * Determine if books can be deleted. */ public function destroy($user) { diff --git a/tests/Migrations/2019_12_22_000006_create_books_table.php b/tests/Migrations/2019_12_22_000006_create_books_table.php index 71f6f70d7..4c97e6f47 100644 --- a/tests/Migrations/2019_12_22_000006_create_books_table.php +++ b/tests/Migrations/2019_12_22_000006_create_books_table.php @@ -16,7 +16,7 @@ public function up() Schema::create('books', function (Blueprint $table) { $table->increments('id'); $table->string('title'); - $table->longText('description')->nullable();; + $table->longText('description')->nullable(); $table->string('author')->nullable(); $table->float('price')->default(0); $table->integer('stock')->nullable();