| @@ -91,7 +91,7 @@ | ||
| 91 | 91 | /** | 
| 92 | 92 | * Create and initialize the DI-container. | 
| 93 | 93 | * | 
| 94 | - * @param RuleSet $ruleset | |
| 94 | + * @param Ruleset $ruleset | |
| 95 | 95 | * @param array &$configs | 
| 96 | 96 | * @return Container | 
| 97 | 97 | */ | 
| @@ -11,7 +11,6 @@ | ||
| 11 | 11 | namespace Lechimp\Dicto\App; | 
| 12 | 12 | |
| 13 | 13 | use Lechimp\Dicto\App\RuleLoader; | 
| 14 | -use Lechimp\Dicto\Rules\Ruleset; | |
| 15 | 14 | use Symfony\Component\Yaml\Yaml; | 
| 16 | 15 | use Pimple\Container; | 
| 17 | 16 | use PhpParser\ParserFactory; | 
| @@ -100,7 +100,7 @@ discard block | ||
| 100 | 100 | * Index a directory. | 
| 101 | 101 | * | 
| 102 | 102 | * @param string $path | 
| 103 | - * @param array $ignore_paths | |
| 103 | + * @param string[] $ignore_paths | |
| 104 | 104 | * @return null | 
| 105 | 105 | */ | 
| 106 | 106 |      public function index_directory($path, array $ignore_paths) { | 
| @@ -129,6 +129,7 @@ discard block | ||
| 129 | 129 | /** | 
| 130 | 130 | * Initialize the filesystem abstraction. | 
| 131 | 131 | * | 
| 132 | + * @param string $path | |
| 132 | 133 | * @return Flightcontrol | 
| 133 | 134 | */ | 
| 134 | 135 |      public function init_flightcontrol($path) { | 
| @@ -33,7 +33,6 @@ | ||
| 33 | 33 | protected $schemas; | 
| 34 | 34 | |
| 35 | 35 | /** | 
| 36 | - * @param string $project_root_path | |
| 37 | 36 | * @param Schema[] $schemas | 
| 38 | 37 | */ | 
| 39 | 38 |      public function __construct(Log $log, \PhpParser\Parser $parser, array $schemas) { | 
| @@ -10,9 +10,7 @@ | ||
| 10 | 10 | |
| 11 | 11 | namespace Lechimp\Dicto\Rules; | 
| 12 | 12 | |
| 13 | -use Lechimp\Dicto\Definition as Def; | |
| 14 | 13 | use Lechimp\Dicto\Analysis\Query; | 
| 15 | -use Lechimp\Dicto\Analysis\Violation; | |
| 16 | 14 | |
| 17 | 15 | /** | 
| 18 | 16 | * This checks wheather there is some text in the definition of an entity. |