Convert variable names to camel case

[MAILPOET-1796]
This commit is contained in:
Jan Jakeš
2020-01-09 15:02:58 +01:00
committed by Jan Jakeš
parent f5da704106
commit 54549ff037
687 changed files with 15890 additions and 15887 deletions

View File

@ -14,17 +14,17 @@ class AnnotationReaderProvider {
public function __construct() {
// register annotation reader if doctrine/annotations package is installed
// (i.e. in dev environment, on production metadata is dumped in the build)
$read_annotations = class_exists(CachedReader::class) && class_exists(AnnotationReader::class);
if ($read_annotations) {
$readAnnotations = class_exists(CachedReader::class) && class_exists(AnnotationReader::class);
if ($readAnnotations) {
// autoload all annotation classes using registered loaders (Composer)
// (needed for Symfony\Validator constraint annotations to be loaded)
AnnotationRegistry::registerLoader('class_exists');
$this->annotation_reader = new CachedReader(new AnnotationReader(), new ArrayCache());
$this->annotationReader = new CachedReader(new AnnotationReader(), new ArrayCache());
}
}
/** @return CachedReader|null */
public function getAnnotationReader() {
return $this->annotation_reader;
return $this->annotationReader;
}
}