Skip to content
Permalink
Browse files

Remove unused namespace import

  • Loading branch information
patrickbrouwers committed Jan 30, 2016
1 parent b8bed0e commit 7fa16794c1d6ee14d5c68b4918ccb4b62d7dc33f
Showing with 23 additions and 26 deletions.
  1. +11 −13 src/Builders/Traits/Aliases.php
  2. +12 −13 src/Builders/Traits/Dates.php
@@ -2,15 +2,13 @@

namespace LaravelDoctrine\Fluent\Builders\Traits;

use LaravelDoctrine\Fluent\Builders\Field;

trait Aliases
{
/**
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function increments($name, callable $callback = null)
{
@@ -23,7 +21,7 @@ public function increments($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function smallIncrements($name, callable $callback = null)
{
@@ -36,7 +34,7 @@ public function smallIncrements($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function bigIncrements($name, callable $callback = null)
{
@@ -49,7 +47,7 @@ public function bigIncrements($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function unsignedSmallInteger($name, callable $callback = null)
{
@@ -60,7 +58,7 @@ public function unsignedSmallInteger($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function unsignedInteger($name, callable $callback = null)
{
@@ -71,7 +69,7 @@ public function unsignedInteger($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function unsignedBigInteger($name, callable $callback = null)
{
@@ -82,7 +80,7 @@ public function unsignedBigInteger($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function rememberToken($name = 'rememberToken', callable $callback = null)
{
@@ -99,31 +97,31 @@ public function rememberToken($name = 'rememberToken', callable $callback = null
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
abstract public function integer($name, callable $callback = null);

/**
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
abstract public function smallInteger($name, callable $callback = null);

/**
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
abstract public function bigInteger($name, callable $callback = null);

/**
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
abstract public function string($name, callable $callback = null);
}
@@ -3,15 +3,14 @@
namespace LaravelDoctrine\Fluent\Builders\Traits;

use Doctrine\DBAL\Types\Type;
use LaravelDoctrine\Fluent\Builders\Field;

trait Dates
{
/**
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function date($name, callable $callback = null)
{
@@ -22,7 +21,7 @@ public function date($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function dateTime($name, callable $callback = null)
{
@@ -33,7 +32,7 @@ public function dateTime($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function dateTimeTz($name, callable $callback = null)
{
@@ -44,7 +43,7 @@ public function dateTimeTz($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function time($name, callable $callback = null)
{
@@ -55,7 +54,7 @@ public function time($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function carbonDateTime($name, callable $callback = null)
{
@@ -66,7 +65,7 @@ public function carbonDateTime($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function carbonDateTimeTz($name, callable $callback = null)
{
@@ -77,7 +76,7 @@ public function carbonDateTimeTz($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function carbonDate($name, callable $callback = null)
{
@@ -88,7 +87,7 @@ public function carbonDate($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function carbonTime($name, callable $callback = null)
{
@@ -99,7 +98,7 @@ public function carbonTime($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function zendDate($name, callable $callback = null)
{
@@ -110,7 +109,7 @@ public function zendDate($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function timestamp($name, callable $callback = null)
{
@@ -121,7 +120,7 @@ public function timestamp($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
public function timestampTz($name, callable $callback = null)
{
@@ -133,7 +132,7 @@ public function timestampTz($name, callable $callback = null)
* @param string $name
* @param callable|null $callback
*
* @return Field
* @return \LaravelDoctrine\Fluent\Builders\Field
*/
abstract public function field($type, $name, callable $callback = null);
}

0 comments on commit 7fa1679

Please sign in to comment.
You can’t perform that action at this time.