Use '@return $this' instead of '@return self' for document fluent interfaces in ApplicationBootstrap.php
This commit is contained in:
parent
4ea52161a9
commit
7d36a59c67
|
@ -333,7 +333,7 @@ abstract class ApplicationBootstrap
|
||||||
/**
|
/**
|
||||||
* Setup Icinga auto loader
|
* Setup Icinga auto loader
|
||||||
*
|
*
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
public function setupAutoloader()
|
public function setupAutoloader()
|
||||||
{
|
{
|
||||||
|
@ -366,7 +366,7 @@ abstract class ApplicationBootstrap
|
||||||
/**
|
/**
|
||||||
* Setup module manager
|
* Setup module manager
|
||||||
*
|
*
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
protected function setupModuleManager()
|
protected function setupModuleManager()
|
||||||
{
|
{
|
||||||
|
@ -381,7 +381,7 @@ abstract class ApplicationBootstrap
|
||||||
/**
|
/**
|
||||||
* Load all enabled modules
|
* Load all enabled modules
|
||||||
*
|
*
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
protected function loadEnabledModules()
|
protected function loadEnabledModules()
|
||||||
{
|
{
|
||||||
|
@ -396,7 +396,7 @@ abstract class ApplicationBootstrap
|
||||||
/**
|
/**
|
||||||
* Setup default logging
|
* Setup default logging
|
||||||
*
|
*
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
protected function setupLogging()
|
protected function setupLogging()
|
||||||
{
|
{
|
||||||
|
@ -413,7 +413,7 @@ abstract class ApplicationBootstrap
|
||||||
/**
|
/**
|
||||||
* Load Configuration
|
* Load Configuration
|
||||||
*
|
*
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
protected function loadConfig()
|
protected function loadConfig()
|
||||||
{
|
{
|
||||||
|
@ -432,7 +432,7 @@ abstract class ApplicationBootstrap
|
||||||
/**
|
/**
|
||||||
* Error handling configuration
|
* Error handling configuration
|
||||||
*
|
*
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
protected function setupErrorHandling()
|
protected function setupErrorHandling()
|
||||||
{
|
{
|
||||||
|
@ -458,7 +458,7 @@ abstract class ApplicationBootstrap
|
||||||
/**
|
/**
|
||||||
* Set up logger
|
* Set up logger
|
||||||
*
|
*
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
protected function setupLogger()
|
protected function setupLogger()
|
||||||
{
|
{
|
||||||
|
@ -475,7 +475,7 @@ abstract class ApplicationBootstrap
|
||||||
/**
|
/**
|
||||||
* Set up the resource factory
|
* Set up the resource factory
|
||||||
*
|
*
|
||||||
* @return self
|
* @return $this
|
||||||
*/
|
*/
|
||||||
protected function setupResourceFactory()
|
protected function setupResourceFactory()
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue