Completed
Push — master ( 4d6b90...85818a )
by Mahmoud
03:14
created
User/Database/Migrations/2000_01_01_000001_create_users_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up()
13 13
     {
14
-        Schema::create('users', function (Blueprint $table) {
14
+        Schema::create('users', function(Blueprint $table) {
15 15
             $table->increments('id');
16 16
             $table->string('name');
17 17
 
Please login to merge, or discard this patch.
User/Database/Migrations/2000_01_01_000002_create_password_resets_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
      */
12 12
     public function up()
13 13
     {
14
-        Schema::create('password_resets', function (Blueprint $table) {
14
+        Schema::create('password_resets', function(Blueprint $table) {
15 15
             $table->string('email')->index();
16 16
             $table->string('token')->index();
17 17
             $table->timestamp('created_at');
Please login to merge, or discard this patch.
Database/Migrations/2016_07_08_110947_create_stripe_accounts_table.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,7 +18,7 @@
 block discarded – undo
18 18
      */
19 19
     public function up()
20 20
     {
21
-        Schema::create('stripe_accounts', function (Blueprint $table) {
21
+        Schema::create('stripe_accounts', function(Blueprint $table) {
22 22
             $table->increments('id');
23 23
             $table->string('customer_id');
24 24
             $table->string('card_id')->nullable();
Please login to merge, or discard this patch.
app/Containers/User/Actions/RegisterAgentUserAction.php 2 patches
Doc Comments   +2 added lines, -3 removed lines patch added patch discarded remove patch
@@ -38,9 +38,8 @@
 block discarded – undo
38 38
 
39 39
     /**
40 40
      * @param            $agentId
41
-     * @param null       $platform
42
-     * @param null       $device
43
-     * @param bool|false $login
41
+     * @param string       $platform
42
+     * @param string       $device
44 43
      *
45 44
      * @return  mixed
46 45
      */
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -48,7 +48,7 @@
 block discarded – undo
48 48
     {
49 49
         $user = $this->findUserService->byAgentId($agentId);
50 50
 
51
-        if(!$user){
51
+        if (!$user) {
52 52
             $user = $this->createUserService->byAgent($agentId, $device, $platform);
53 53
         }
54 54
 
Please login to merge, or discard this patch.