comparison vendor/doctrine/common/lib/Doctrine/Common/Persistence/Event/PreUpdateEventArgs.php @ 12:7a779792577d

Update Drupal core to v8.4.5 (via Composer)
author Chris Cannam
date Fri, 23 Feb 2018 15:52:07 +0000
parents 4c8ae668cc8c
children
comparison
equal deleted inserted replaced
11:bfffd8d7479a 12:7a779792577d
128 { 128 {
129 if ( ! isset($this->entityChangeSet[$field])) { 129 if ( ! isset($this->entityChangeSet[$field])) {
130 throw new \InvalidArgumentException(sprintf( 130 throw new \InvalidArgumentException(sprintf(
131 'Field "%s" is not a valid field of the entity "%s" in PreUpdateEventArgs.', 131 'Field "%s" is not a valid field of the entity "%s" in PreUpdateEventArgs.',
132 $field, 132 $field,
133 get_class($this->getEntity()) 133 get_class($this->getObject())
134 )); 134 ));
135 } 135 }
136 } 136 }
137 } 137 }