Completed
Push — master ( b7411b...d316fe )
by Mokhlas
01:13
created
src/Command/MultiAuthPrepare.php 2 patches
Doc Comments   +6 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
     /**
55 55
      * Execute the console command.
56 56
      *
57
-     * @return mixed
57
+     * @return boolean
58 58
      */
59 59
     public function handle()
60 60
     {
@@ -615,6 +615,11 @@  discard block
 block discarded – undo
615 615
         return file_put_contents($filePath, $new_contents);
616 616
     }
617 617
 
618
+    /**
619
+     * @param string $filePath
620
+     * @param string $keyword
621
+     * @param string $body
622
+     */
618 623
     public function insert($filePath, $keyword, $body, $after = true) {
619 624
 
620 625
         $contents = file_get_contents($filePath);
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,8 +3,8 @@
 block discarded – undo
3 3
 namespace iMokhles\MultiAuthCommand\Command;
4 4
 
5 5
 use Illuminate\Database\Console\Migrations\BaseCommand;
6
-use Illuminate\Support\Composer;
7 6
 use Illuminate\Database\Migrations\MigrationCreator;
7
+use Illuminate\Support\Composer;
8 8
 
9 9
 
10 10
 class MultiAuthPrepare extends BaseCommand
Please login to merge, or discard this patch.