Passed
Push — master ( 88087c...22d0de )
by smiley
01:43
created
src/LogTrait.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@  discard block
 block discarded – undo
21 21
  * @implements \Psr\Log\LoggerAwareInterface
22 22
  * @implements \Psr\Log\LoggerInterface
23 23
  */
24
-trait LogTrait{
24
+trait LogTrait {
25 25
 	use LoggerTrait;
26 26
 
27 27
 	/**
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
 	 *
37 37
 	 * @return void
38 38
 	 */
39
-	public function setLogger(LoggerInterface $logger){
39
+	public function setLogger(LoggerInterface $logger) {
40 40
 		$this->log = $logger;
41 41
 	}
42 42
 
@@ -49,9 +49,9 @@  discard block
 block discarded – undo
49 49
 	 *
50 50
 	 * @return void
51 51
 	 */
52
-	public function log($level, $message, array $context = []){
52
+	public function log($level, $message, array $context = []) {
53 53
 
54
-		if($this->log instanceof LoggerInterface){
54
+		if ($this->log instanceof LoggerInterface) {
55 55
 			$this->log->log($level, $message, $context);
56 56
 		}
57 57
 
Please login to merge, or discard this patch.