Code cleanup

This commit is contained in:
Tim
2019-05-28 16:06:03 +02:00
parent 92f9445633
commit 49b9d139ec
2 changed files with 49 additions and 35 deletions

View File

@ -1,9 +1,7 @@
<?php
namespace App\Ardent\LoggerBundle\Entity;
use DateTime;
use Doctrine\ORM\Mapping as ORM;
@ -22,7 +20,7 @@ class LogEntry
private $id;
/**
* @ORM\Column(type="string")
* @ORM\Column(type="text")
*/
private $message;
@ -69,11 +67,13 @@ class LogEntry
/**
* @param mixed $id
*
* @return LogEntry
*/
public function setId($id)
{
$this->id = $id;
return $this;
}
@ -87,11 +87,13 @@ class LogEntry
/**
* @param mixed $message
*
* @return LogEntry
*/
public function setMessage($message)
{
$this->message = $message;
return $this;
}
@ -105,11 +107,13 @@ class LogEntry
/**
* @param mixed $context
*
* @return LogEntry
*/
public function setContext($context)
{
$this->context = $context;
return $this;
}
@ -123,11 +127,13 @@ class LogEntry
/**
* @param mixed $level
*
* @return LogEntry
*/
public function setLevel($level)
{
$this->level = $level;
return $this;
}
@ -141,11 +147,13 @@ class LogEntry
/**
* @param mixed $levelName
*
* @return LogEntry
*/
public function setLevelName($levelName)
{
$this->levelName = $levelName;
return $this;
}
@ -159,11 +167,13 @@ class LogEntry
/**
* @param mixed $channel
*
* @return LogEntry
*/
public function setChannel($channel)
{
$this->channel = $channel;
return $this;
}
@ -177,11 +187,13 @@ class LogEntry
/**
* @param mixed $createdAt
*
* @return LogEntry
*/
public function setCreatedAt($createdAt)
{
$this->createdAt = $createdAt;
return $this;
}
}
}