Completed
Push — master ( cca31a...17359b )
by Adam
09:17
created
src/IPub/DoctrineBlameable/DI/DoctrineBlameableExtension.php 2 patches
Unused Use Statements   -2 removed lines patch added patch discarded remove patch
@@ -17,8 +17,6 @@
 block discarded – undo
17 17
 use Nette;
18 18
 use Nette\DI;
19 19
 use Nette\Utils;
20
-use Nette\PhpGenerator as Code;
21
-
22 20
 use IPub\DoctrineBlameable;
23 21
 use IPub\DoctrineBlameable\Events;
24 22
 use IPub\DoctrineBlameable\Mapping;
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
 
87 87
 		$builder->addDefinition($this->prefix('subscriber'))
88 88
 			->setClass(Events\BlameableSubscriber::CLASS_NAME)
89
-			->setArguments([$userCallable instanceof DI\ServiceDefinition ? '@' . $userCallable->getClass() : NULL]);
89
+			->setArguments([$userCallable instanceof DI\ServiceDefinition ? '@'.$userCallable->getClass() : NULL]);
90 90
 	}
91 91
 
92 92
 	public function beforeCompile()
Please login to merge, or discard this patch.
src/IPub/DoctrineBlameable/Mapping/Driver/Blameable.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -329,7 +329,7 @@
 block discarded – undo
329 329
 	 */
330 330
 	private static function getCacheId($className)
331 331
 	{
332
-		return $className . '\\$' . strtoupper(str_replace('\\', '_', __NAMESPACE__)) . '_CLASSMETADATA';
332
+		return $className.'\\$'.strtoupper(str_replace('\\', '_', __NAMESPACE__)).'_CLASSMETADATA';
333 333
 	}
334 334
 
335 335
 }
Please login to merge, or discard this patch.