Skip to content

Commit

Permalink
no comments
Browse files Browse the repository at this point in the history
  • Loading branch information
znck committed Mar 18, 2016
1 parent 53aca44 commit f438eca
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 20 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -12,7 +12,7 @@ Inverse of HasManyThrough relation is missing from [Laravel](https://laravel.com
<img src="https://circleci.com/gh/znck/belongs-to-through.svg?style=svg" alt="Build Status" />
</a>
<a href="https://coveralls.io/github/znck/belongs-to-through?branch=master">
<img src="https://coveralls.io/repos/github/znck/plug/belongs-to-through.svg?branch=master&style=flat-square" alt="Coverage Status" />
<img src="https://coveralls.io/repos/github/znck/belongs-to-through/badge.svg?branch=master&style=flat-square" alt="Coverage Status" />
</a>
<a href="LICENSE">
<img src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square" alt="Software License" />
Expand Down
9 changes: 1 addition & 8 deletions src/Relations/BelongsToThrough.php
@@ -1,6 +1,4 @@
<?php

namespace Znck\Eloquent\Relations;
<?php namespace Znck\Eloquent\Relations;

use Illuminate\Database\Eloquent\Builder;
use Illuminate\Database\Eloquent\Collection;
Expand All @@ -10,11 +8,6 @@
use Illuminate\Database\Query\Expression;
use Illuminate\Support\Str;

/**
* Class BelongsToThrough.
*
* @author Rahul Kadyan <hi@znck.me>
*/
class BelongsToThrough extends Relation
{
/**
Expand Down
9 changes: 1 addition & 8 deletions src/Traits/BelongsToThrough.php
@@ -1,17 +1,10 @@
<?php

namespace Znck\Eloquent\Traits;
<?php namespace Znck\Eloquent\Traits;

use Exception;
use Illuminate\Database\Eloquent\Model;
use InvalidArgumentException;
use Znck\Eloquent\Relations\BelongsToThrough as Relation;

/**
* Class BelongsToThrough.
*
* @author Rahul Kadyan <hi@znck.me>
*/
trait BelongsToThrough
{
/**
Expand Down
3 changes: 0 additions & 3 deletions tests/BelongsToThroughTest.php
Expand Up @@ -4,9 +4,6 @@
use Illuminate\Support\Str;
use Znck\Eloquent\Traits\BelongsToThrough;

/**
* Test BelongsToThrough.
*/
class BelongsToThroughTest extends \Orchestra\Testbench\TestCase
{
/**
Expand Down

0 comments on commit f438eca

Please sign in to comment.