Sukhwinder Dhillon
143347634f
NavigationConfigForm: Fix `Variable '$classPath' is probably undefined`
2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
c501e3e2e1
AddMemberForm: Fix `Variable '$userName' is probably undefined`
2023-08-23 10:53:14 +02:00
Sukhwinder Dhillon
0198054943
CreateMembershipForm: Fix `Variable '$groupName' is probably undefined`
2023-08-23 10:53:14 +02:00
raviks789
e0f02c1d62
`CustomVarTable`: Import `Closure`
...
The property `$hookApplier` is of type `Closure`, hence it has been imported.
2023-08-23 10:53:14 +02:00
raviks789
c4a3cee94a
`UrlParams`: Fix type for parameter `$default` of method `get()`
...
The parameter `default` can be null, string, int or bool.
2023-08-23 10:53:14 +02:00
raviks789
d6fd3a97ca
`DbRepository`: Import exception `QueryException`
2023-08-23 10:53:14 +02:00
raviks789
c46446e17f
`Url`: Fix type for parameter `$value` of method `setParam()`
2023-08-23 10:53:14 +02:00
raviks789
2a4f448c3e
`Url`: Use `Icinga\Web\Request` instead of `Zend_Request` or `Zend_Abstract_Request`
2023-08-23 10:53:14 +02:00
raviks789
a317c5981f
`Discovery`: Fix return type of the static method `discover()`
2023-08-23 10:53:14 +02:00
raviks789
4acee8ab06
`Inspection`: Fix return type of method `error()`
2023-08-23 10:53:14 +02:00
raviks789
e946ed1f0e
`UrlParams`: Fix type for parameter `$default` of method `getValues()`
2023-08-23 10:53:14 +02:00
raviks789
d5e93a9d68
`UrlParams`: Fix type for parameter `$value` of method `add()`
...
The parameter `$value` can be null, string or bool.
2023-08-23 10:53:14 +02:00
raviks789
0476046ce6
`AuthenticationController`: Use correct name case for method `AesCrypt::getIV()`
2023-08-23 10:53:14 +02:00
raviks789
89630bf0de
`ResourceConfigForm`: Import class `Zend_Form_Element`
...
Class `Zend_Form_Element` is the return type of the method `getForceCreationCheckBox()`. Hence the class should be imported.
2023-08-23 10:53:14 +02:00
raviks789
2eb3b6c405
`ResourceConfigForm`: Fix return type for `edit()` and `remove()` methods
2023-08-23 10:53:14 +02:00
raviks789
eff262cafd
`PreferenceForm`: Use correct number of arguments for method `Preferences::get()`
2023-08-23 10:53:14 +02:00
raviks789
58938f6636
`Config`: Import exception `NotWritableError`
2023-08-23 10:53:13 +02:00
raviks789
1b9d977da4
`Config`: Fix parameter type for `$fromDisk` of method `module()`
2023-08-23 10:53:13 +02:00
raviks789
b585ed25df
`LdapUserGroupBackend`: Update PHPDoc for method `retrieveUserName()`
2023-08-23 10:53:13 +02:00
raviks789
11c7f913c8
`Benchmark`: Define parameter `$what` as nullable
2023-08-23 10:53:13 +02:00
raviks789
dd8875f99f
`ConfigFormEventsHook`: Use `self` to access static property `$lastErrors`
2023-08-23 10:53:13 +02:00
raviks789
2265b9d27b
`LegacyWeb`: Import `Exception` class
2023-08-23 10:53:13 +02:00
raviks789
1c0480d484
`Module`: Use correct name case for `Web::getFrontController()` method
2023-08-23 10:53:13 +02:00
raviks789
381aee94d1
`LdapUserBackend`: Import exception `QueryException`
...
Method `LdapUserBackend::requireQueryColumn()` throws exception `QueryException`
2023-08-23 10:53:13 +02:00
raviks789
2b60a86731
`Animation`: Use correct name case for `DOMElement::setAttribute()`
2023-08-23 10:53:13 +02:00
raviks789
e1fd5c8500
`PieSlice`: Use correct name case for `RenderContext::yToRelative()`
2023-08-23 10:53:13 +02:00
raviks789
fb92c9b70a
`DbQuery`: Import required class `Zend_Db_Adapter_Abstract`
2023-08-23 10:53:13 +02:00
raviks789
08e57939f2
`TreeNodeIterator`: Fix type for property `$children`
2023-08-23 10:53:13 +02:00
raviks789
e2ac5c9b08
`Section`: Fix type for property `$commentPost`
2023-08-23 10:53:13 +02:00
raviks789
ceead3dee2
LdapCapabilities: Use correct name case for generic class `stdClass`
2023-08-23 10:53:13 +02:00
raviks789
677a32545b
`DbRepository`: Use correct name case for `RepositoryQuery` in `joinColumn()` method
2023-08-23 10:53:13 +02:00
raviks789
201706614d
`Repository`: Return null if conversion rules is empty in `getConverter()`
...
In case the conversion rules to apply on the repository query is not defined
return null in `Repository::getConverter()`.
2023-08-23 10:53:13 +02:00
raviks789
aa5db51e77
`Repository`: Use correct name case for `DateTime::getTimestamp()` in `retrieveGeneralizedTime()` method
2023-08-23 10:53:13 +02:00
raviks789
22c790ea48
`ActionControlle`: Avoid void return in `__call()` magic method
2023-08-23 10:53:13 +02:00
raviks789
6b0244f247
`ActionController`: Declare property `$view`
2023-08-23 10:53:13 +02:00
raviks789
2db4e35b78
`Button`: Import class `Zend_Config`
...
The parameters for the constructor can be of type `Zend_Config`. Hence the class has been imported.
2023-08-23 10:53:13 +02:00
raviks789
f05d76e05e
`FormElement`: Fix the return type of `loadDefaultDecorators()`
2023-08-23 10:53:13 +02:00
raviks789
4108b6b4cc
`Navigation`: Cast string to int to perform addition
...
In `library/Icinga/Web/Navigation/Navigation::merge()` the result of `preg_match`
must be cast to int before adding 1 to it.
2023-08-23 10:53:13 +02:00
raviks789
fdddc21bc8
`View`: Define parameter `$var` for `escape()` as nullable
2023-08-23 10:53:13 +02:00
raviks789
bf5aa41d63
`Widget`: Imported class `AbstractWidget`
...
The return type of static method `Widget::create()` is `AbstractWidget` instance.
Hence it is imported in `Widget::class`.
2023-08-23 10:53:13 +02:00
raviks789
1d8ce55262
`AbstractWidget`: Import class `Zend_View_Abstract`
...
Since static property `AbstractWidget::view` is of type `Zend_View_Abstract` instance. The
class needs to be imported.
2023-08-23 10:53:13 +02:00
raviks789
daddfe11b5
`Tab`: Fix type of property `$url`
...
`$url` can either be a string or `Icinga\Web\Url` instance.
2023-08-23 10:53:13 +02:00
raviks789
3b707fb6ab
`Wizard`: Fix return type for method `getPage()`
...
The method `Wizard::getPage()` could also return `ModulePage` instance. Hence it is included as one of the
return type of this method.
2023-08-23 10:53:13 +02:00
raviks789
4bfa2355b7
`DocSectionRenderer`: Replace fully qualified names of classes with class names
...
The classes in PHPDoc are imported and their fully qualified names are replaced with their class names.
2023-08-23 10:53:13 +02:00
raviks789
acf3b7d340
`DocSearchIterator`: PHPDoc for `$section` is moved above the variable declaration in method `accept()`
2023-08-23 10:53:13 +02:00
raviks789
4bece296e5
`MonitoringFlags`: Import class `MonitoredObject`
2023-08-23 10:53:13 +02:00
raviks789
a780d9790b
Declare property `$view` for helpers in monitoring modules
...
The property `$view` with type `Icinga\Web\View` is declared for helpers in `modules/monitoring/application/views/helpers`
directory.
2023-08-23 10:53:13 +02:00
raviks789
d22d2fb1e0
`HoststatussummaryQuery`: Fix name case for `HoststatusQuery`
2023-08-23 10:53:13 +02:00
raviks789
b481a771d0
`ServicestatussummaryQuery`: Fix name case for `ServicestatusQuery`
2023-08-23 10:53:13 +02:00
raviks789
caede2aaa9
`MonitoringBackend`: Import interface `QueryInterface`
...
The return type of `modules/monitoring/library/Monitoring/Backend/MonitoringBackend::query()` is `Icinga\Data\QueryInterface`.
Hence this interface is imported in `MonitoringBackend::class`.
2023-08-23 10:53:13 +02:00