Ignore:
Timestamp:
Aug 8, 2019 10:01:13 PM (5 years ago)
Author:
anonymous
Message:

Change usage of is_a($x, 'X') to $x instance of X

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/services/lock.php

    r535 r695  
    4646}
    4747
    48 if (!isset($lock) || !is_a($lock, 'Lock')) {
     48if (!isset($lock) || !($lock instanceof \Lock)) {
    4949    $lock =& Lock::getInstance($auth);
    5050}
Note: See TracChangeset for help on using the changeset viewer.