Passed
Push — master ( e0340a...9bdf45 )
by MusikAnimal
06:01
created
src/AppBundle/Repository/ArticleInfoRepository.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -3,7 +3,7 @@  discard block
 block discarded – undo
3 3
  * This file contains only the ArticleInfoRepository class.
4 4
  */
5 5
 
6
-declare(strict_types = 1);
6
+declare(strict_types=1);
7 7
 
8 8
 namespace AppBundle\Repository;
9 9
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
         $sql = "SELECT log_action, log_type, log_timestamp AS 'timestamp'
77 77
                 FROM $loggingTable
78
-                WHERE log_namespace = '" . $page->getNamespace() . "'
78
+                WHERE log_namespace = '".$page->getNamespace()."'
79 79
                 AND log_title = :title AND log_timestamp > 1 $datesConditions
80 80
                 AND log_type IN ('delete', 'move', 'protect', 'stable')";
81 81
         $title = str_replace(' ', '_', $page->getTitle());
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         $title = rawurlencode(str_replace(' ', '_', $page->getTitle()));
101 101
         $projectLang = $page->getProject()->getLang();
102 102
 
103
-        $url = "https://api.wikiwho.net/$projectLang/api/v1.0.0-beta/rev_content/" .
103
+        $url = "https://api.wikiwho.net/$projectLang/api/v1.0.0-beta/rev_content/".
104 104
             "$title/?o_rev_id=false&editor=true&token_id=false&out=false&in=false";
105 105
 
106 106
         // Ignore HTTP errors to fail gracefully.
Please login to merge, or discard this patch.