Skip to content

Commit baed6f3

Browse files
committed
style: php lint
1 parent 9cdc75a commit baed6f3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/Location.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ public function prepareInputForUpdate($input)
114114

115115
public function showForLocation(GlpiLocation $item, array $options = [])
116116
{
117+
/** @var DBmysql $DB */
117118
global $DB;
118119

119120
$this->getFromDBByCrit(['locations_id' => $item->getID()]);
@@ -412,7 +413,7 @@ public function getCountryCode(CommonDBTM $item, Geocoder $geocoder): string
412413
*/
413414
public static function getIncompleteLocations(array $where = []): DBmysqlIterator
414415
{
415-
/** @var DBmysql $DB */
416+
/** @var DBmysql $DB */
416417
global $DB;
417418

418419
$where = array_diff_key($where, [
@@ -456,7 +457,7 @@ public static function getIncompleteLocations(array $where = []): DBmysqlIterato
456457

457458
public function getSourceZoneId(): int
458459
{
459-
/** @var DBmysql */
460+
/** @var DBmysql $DB */
460461
global $DB;
461462

462463
if ($this->isNewItem()) {

0 commit comments

Comments
 (0)