src/Repository/PodcastEpisodeRepository.php
syntax error, unexpected 'ModelFactoryInterface' (T_STRING), expecting function (T_FUNCTION) or const (T_CONST)
Open
Open
private ModelFactoryInterface $modelFactory;
- Exclude checks
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 50 and the first side effect is on line 42. Open
Open
<?php
- Exclude checks
Possible parse error: class missing opening or closing brace Open
Open
final class PodcastEpisodeRepository implements PodcastEpisodeRepositoryInterface
- Exclude checks
Possible parse error: class missing opening or closing brace Open
Open
final class PodcastEpisodeRepository implements PodcastEpisodeRepositoryInterface
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
private DatabaseConnectionInterface $connection;
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
private ModelFactoryInterface $modelFactory;
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
private ConfigContainerInterface $configContainer;
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
if ($skipDisabledCatalogs) {
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
if (!empty($stateFilter)) {
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
public function getEpisodes(Podcast $podcast, string $stateFilter = ''): array
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
public function deleteEpisode(Podcast_Episode $episode): void
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
while ($episodeId = $result->fetchColumn()) {
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
public function __construct(
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 0 spaces, found 4 Open
Open
}
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
if ($skipDisabledCatalogs) {
- Exclude checks
Line indented incorrectly; expected 4 spaces, found 8 Open
Open
}
- Exclude checks