Skip to content

Commit 61c201a

Browse files
committed
2 parents eff3f8b + f9d1a10 commit 61c201a

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

src/ExtendedRelations/BelongsToMany.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,10 @@
11
<?php
2-
/**
3-
* Created by PhpStorm.
4-
* User: Raj Kumar
5-
* Date: 2/12/19
6-
* Time: 5:08 PM
7-
*/
82

93
namespace Froiden\RestAPI\ExtendedRelations;
10-
11-
124
use Illuminate\Database\Eloquent\Relations\BelongsToMany as LaravelBelongsToMany;
135

146
class BelongsToMany extends LaravelBelongsToMany
157
{
16-
/**
17-
* @return string
18-
*/
198
public function getRelatedKeyName() {
209
return $this->relatedKey ?: 'id';
2110
}

0 commit comments

Comments
 (0)