Skip to content

Commit

Permalink
Suffix interfaces with contract
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Mar 16, 2023
1 parent c82be51 commit 5f40260
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions monorepo/HydeStan/HydeStan.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public static function addActionsMessage(string $level, string $file, int $lineN
}
}

class NoFixMeAnalyser implements FileAnalyser
class NoFixMeAnalyser implements FileAnalyserContract
{
public function run(string $file, string $contents): array
{
Expand Down Expand Up @@ -171,12 +171,12 @@ public function run(string $file, string $contents): array
}
}

interface FileAnalyser
interface FileAnalyserContract
{
public function run(string $file, string $contents): array;
}

interface LineAnalyser
interface LineAnalyserContract
{
public function run(string $file, string $contents, int $lineNumber, string $line): array;
}

0 comments on commit 5f40260

Please sign in to comment.