Passed
Push — master ( ef81d9...bd9122 )
by Adekunle
03:43
created
src/tests/RestApiTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
      */
16 16
     public function testStore()
17 17
     {
18
-        $response = $this-action('POST', 'Crystoline\LaraRestApiTestController@yourAction', ['links' => 'link1 \n link2']);
18
+        $response = $this - action('POST', 'Crystoline\LaraRestApiTestController@yourAction', ['links' => 'link1 \n link2']);
19 19
         // you can check if response was ok
20 20
         $this->assertTrue($response->isOk(), "Custom message if something went wrong");
21 21
         // or if view received variable
Please login to merge, or discard this patch.
src/IRestApiAble.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
 use Illuminate\Http\Request;
6 6
 interface IRestApiAble
7 7
 {
8
-    public static function getModel() : string ;
8
+    public static function getModel() : string;
9 9
 
10 10
     public function index(Request $request);
11 11
 
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
      * @param $searchables
33 33
      * return none, Builder passed by reference
34 34
      */
35
-    public static function doSearch(Request $request, Builder $builder, $searchables) ;
35
+    public static function doSearch(Request $request, Builder $builder, $searchables);
36 36
 
37 37
     /**
38 38
      * Order Data
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      * @param Builder $builder
41 41
      * @param array $orderBy
42 42
      */
43
-    public static function doOrderBy(Request $request, Builder $builder,array $orderBy);
43
+    public static function doOrderBy(Request $request, Builder $builder, array $orderBy);
44 44
 
45 45
     /**
46 46
      * Perform action before data list
Please login to merge, or discard this patch.