Passed
Branch master (68efd7)
by Sabine
02:47
created
src/PurpleBooth/GitGitHubLint/AnalysePullRequestCommits.php 1 patch
Doc Comments   +1 added lines patch added patch discarded remove patch
@@ -18,6 +18,7 @@
 block discarded – undo
18 18
      * @param string $repository
19 19
      * @param string $sha
20 20
      * @param Status $status
21
+     * @return void
21 22
      */
22 23
     public function updateStatus(string $organisation, string $repository, string $sha, Status $status);
23 24
 }
Please login to merge, or discard this patch.
src/PurpleBooth/GitGitHubLint/ValidateServiceImplementation.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     /**
33 33
      * @param Message[] $messages
34 34
      *
35
-     * @return null
35
+     * @return Message[]
36 36
      */
37 37
     public function validate(array $messages)
38 38
     {
Please login to merge, or discard this patch.
src/PurpleBooth/GitGitHubLint/ValidateMessageImplementation.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
 
50 50
         usort(
51 51
             $statuses,
52
-            function (Status $statusA, Status $statusB) {
52
+            function(Status $statusA, Status $statusB) {
53 53
                 return $statusA->getWeight() <=> $statusB->getWeight();
54 54
             }
55 55
         );
Please login to merge, or discard this patch.