Completed
Push — master ( 4ccd26...0d58f5 )
by Robert
05:18
created
src/Entity/General/UsersAwareTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     public function findUserByFullName(string $name): ?User
33 33
     {
34 34
         /** @noinspection PhpIncompatibleReturnTypeInspection */
35
-        return $this->getUserMatcher()->matchFirst($name, function (User $user) {
35
+        return $this->getUserMatcher()->matchFirst($name, function(User $user) {
36 36
             return $user->getFullName();
37 37
         });
38 38
     }
Please login to merge, or discard this patch.
src/Entity/General/ChatsAwareTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function findChatByTitle(string $title): ?Chat
28 28
     {
29 29
         /** @noinspection PhpIncompatibleReturnTypeInspection */
30
-        return $this->getChatMatcher()->matchFirst($title, function (Chat $chat) {
30
+        return $this->getChatMatcher()->matchFirst($title, function(Chat $chat) {
31 31
             return $chat->getTitle();
32 32
         });
33 33
     }
Please login to merge, or discard this patch.
src/Bot/UpdateBot.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -36,7 +36,7 @@
 block discarded – undo
36 36
      */
37 37
     public function listen(array $updateHandlers): void
38 38
     {
39
-        $this->repeater->repeat(function () use ($updateHandlers) {
39
+        $this->repeater->repeat(function() use ($updateHandlers) {
40 40
             foreach ($this->getUpdates() as $update) {
41 41
                 foreach ($updateHandlers as $handler) {
42 42
                     $handler->handle($update);
Please login to merge, or discard this patch.
kernel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@
 block discarded – undo
3 3
 use Doctrine\Common\Annotations\AnnotationRegistry;
4 4
 use Dotenv\Dotenv;
5 5
 
6
-(function () {
6
+(function() {
7 7
     require __DIR__ . '/vendor/autoload.php';
8 8
     AnnotationRegistry::registerLoader('class_exists');
9 9
     if (file_exists(__DIR__ . DIRECTORY_SEPARATOR . '.env')) {
Please login to merge, or discard this patch.
src/Madeline/Auth/Handler/AuthHandlerCollection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
27 27
     public function get(AuthConfigInterface $config): AuthHandlerInterface
28 28
     {
29 29
         $handler = (new ConditionMatch($this->handlers))->find(
30
-            function (AuthHandlerInterface $currentHandler) use ($config) {
30
+            function(AuthHandlerInterface $currentHandler) use ($config) {
31 31
                 return $currentHandler->suits($config);
32 32
             }
33 33
         );
Please login to merge, or discard this patch.