From d8b5bc97cfa1c7513ee58f81531679ccda387ef8 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Wed, 16 Apr 2014 12:30:19 +0200 Subject: [PATCH] fixed types in phpdocs --- CacheWarmer/RouterCacheWarmer.php | 2 +- CacheWarmer/TemplatePathsCacheWarmer.php | 2 +- Console/Application.php | 2 +- Controller/Controller.php | 2 +- Templating/GlobalVariables.php | 2 +- Templating/Loader/FilesystemLoader.php | 4 ++-- 6 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CacheWarmer/RouterCacheWarmer.php b/CacheWarmer/RouterCacheWarmer.php index 9fa48da42..c3826aa82 100644 --- a/CacheWarmer/RouterCacheWarmer.php +++ b/CacheWarmer/RouterCacheWarmer.php @@ -49,7 +49,7 @@ public function warmUp($cacheDir) /** * Checks whether this warmer is optional or not. * - * @return Boolean always true + * @return bool always true */ public function isOptional() { diff --git a/CacheWarmer/TemplatePathsCacheWarmer.php b/CacheWarmer/TemplatePathsCacheWarmer.php index 093629010..a23d1bb50 100644 --- a/CacheWarmer/TemplatePathsCacheWarmer.php +++ b/CacheWarmer/TemplatePathsCacheWarmer.php @@ -55,7 +55,7 @@ public function warmUp($cacheDir) /** * Checks whether this warmer is optional or not. * - * @return Boolean always true + * @return bool always true */ public function isOptional() { diff --git a/Console/Application.php b/Console/Application.php index 9d7e4ff1a..e9c1b0a62 100644 --- a/Console/Application.php +++ b/Console/Application.php @@ -63,7 +63,7 @@ public function getKernel() * @param InputInterface $input An Input instance * @param OutputInterface $output An Output instance * - * @return integer 0 if everything went fine, or an error code + * @return int 0 if everything went fine, or an error code */ public function doRun(InputInterface $input, OutputInterface $output) { diff --git a/Controller/Controller.php b/Controller/Controller.php index adc2533dc..718ff6c94 100644 --- a/Controller/Controller.php +++ b/Controller/Controller.php @@ -233,7 +233,7 @@ public function getUser() * * @param string $id The service id * - * @return Boolean true if the service id is defined, false otherwise + * @return bool true if the service id is defined, false otherwise */ public function has($id) { diff --git a/Templating/GlobalVariables.php b/Templating/GlobalVariables.php index 80ae03fd0..e49f279cb 100644 --- a/Templating/GlobalVariables.php +++ b/Templating/GlobalVariables.php @@ -108,7 +108,7 @@ public function getEnvironment() /** * Returns the current app debug mode. * - * @return Boolean The current debug mode + * @return bool The current debug mode */ public function getDebug() { diff --git a/Templating/Loader/FilesystemLoader.php b/Templating/Loader/FilesystemLoader.php index 14560e3d7..527152aa6 100644 --- a/Templating/Loader/FilesystemLoader.php +++ b/Templating/Loader/FilesystemLoader.php @@ -40,7 +40,7 @@ public function __construct(FileLocatorInterface $locator) * * @param TemplateReferenceInterface $template A template * - * @return FileStorage|Boolean false if the template cannot be loaded, a Storage instance otherwise + * @return FileStorage|bool false if the template cannot be loaded, a Storage instance otherwise */ public function load(TemplateReferenceInterface $template) { @@ -59,7 +59,7 @@ public function load(TemplateReferenceInterface $template) * @param TemplateReferenceInterface $template The template name as an array * @param int $time The last modification time of the cached template (timestamp) * - * @return Boolean + * @return bool */ public function isFresh(TemplateReferenceInterface $template, $time) {