Completed
Push — master ( 49f715...d265e9 )
by Adam
03:40
created
src/IPub/DoctrineBlameable/Mapping/Driver/Blameable.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -303,7 +303,7 @@  discard block
 block discarded – undo
303 303
 	/**
304 304
 	 * Create default annotation reader for extensions
305 305
 	 *
306
-	 * @return Common\Annotations\AnnotationReader
306
+	 * @return Common\Annotations\CachedReader
307 307
 	 */
308 308
 	private function getDefaultAnnotationReader()
309 309
 	{
@@ -321,7 +321,7 @@  discard block
 block discarded – undo
321 321
 	/**
322 322
 	 * Checks if $field type is valid
323 323
 	 *
324
-	 * @param object $meta
324
+	 * @param ORM\Mapping\ClassMetadata $meta
325 325
 	 * @param string $field
326 326
 	 *
327 327
 	 * @return boolean
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Events/BlameableListener.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -318,7 +318,7 @@
 block discarded – undo
318 318
 		$user = $this->getUser();
319 319
 
320 320
 		if ($classMetadata->hasAssociation($field)) {
321
-			if ($user !== NULL && ! is_object($user)) {
321
+			if ($user !== NULL && !is_object($user)) {
322 322
 				throw new Exceptions\InvalidArgumentException("Blame is reference, user must be an object");
323 323
 			}
324 324
 
Please login to merge, or discard this patch.