monitoring: Fix PHPDoc for MonitoringBackend::from()

This commit is contained in:
Eric Lippmann 2015-01-27 13:37:28 +01:00
parent 08795e7cf4
commit 405e18a46f
1 changed files with 2 additions and 2 deletions

View File

@ -145,7 +145,7 @@ class MonitoringBackend implements Selectable, Queryable, ConnectionInterface
$this->type = lcfirst(substr($class, 0, -7)); $this->type = lcfirst(substr($class, 0, -7));
} else { } else {
throw new ProgrammingError( throw new ProgrammingError(
'%s is not a valid monitoring backend class name', '%s is not a valid monitoring backend class name',
$class $class
); );
} }
@ -251,7 +251,7 @@ class MonitoringBackend implements Selectable, Queryable, ConnectionInterface
* @param string $name * @param string $name
* @param array $columns * @param array $columns
* *
* @return DataView * @return \Icinga\Module\Monitoring\DataView\DataView
*/ */
public function from($name, array $columns = null) public function from($name, array $columns = null)
{ {