Skip to content

Commit

Permalink
Merge pull request #9352 from paulbalandan/cs-v366
Browse files Browse the repository at this point in the history
style: bump to php-cs-fixer v3.66
  • Loading branch information
samsonasik authored Dec 30, 2024
2 parents 0bc67db + 65219d7 commit c0c3e02
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 14 deletions.
12 changes: 5 additions & 7 deletions user_guide_src/source/database/queries/016.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
<?php

$pQuery = $db->prepare(static function ($db) {
return $db->table('user')->insert([
'name' => 'x',
'email' => 'y',
'country' => 'US',
]);
});
$pQuery = $db->prepare(static fn ($db) => $db->table('user')->insert([
'name' => 'x',
'email' => 'y',
'country' => 'US',
]));
12 changes: 5 additions & 7 deletions user_guide_src/source/database/queries/019.php
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
<?php

// Prepare the Query
$pQuery = $db->prepare(static function ($db) {
return $db->table('user')->insert([
'name' => 'x',
'email' => 'y',
'country' => 'US',
]);
});
$pQuery = $db->prepare(static fn ($db) => $db->table('user')->insert([
'name' => 'x',
'email' => 'y',
'country' => 'US',
]));

// Collect the Data
$name = 'John Doe';
Expand Down

0 comments on commit c0c3e02

Please sign in to comment.