@@ -12,7 +12,7 @@ class DummyClass extends Repository {
1212 *
1313 * @var \DummyFullModelClass
1414 */
15- protected $repo ;
15+ protected $repository ;
1616
1717 /**
1818 * Create a new repository instance.
@@ -21,7 +21,7 @@ class DummyClass extends Repository {
2121 * @return void
2222 */
2323 public function __construct(DummyModelClass $DummyModelVariable) {
24- $this->repo = $DummyModelVariable;
24+ $this->repository = $DummyModelVariable;
2525 }
2626
2727 /**
@@ -41,7 +41,7 @@ class DummyClass extends Repository {
4141 * @return \DummyFullModelClass
4242 */
4343 public function get($columns = ['*']) {
44- return $this->repo ->get($columns);
44+ return $this->repository ->get($columns);
4545 }
4646
4747 /**
@@ -51,7 +51,7 @@ class DummyClass extends Repository {
5151 * @return \DummyFullModelClass
5252 */
5353 public function find($id) {
54- // return $this->repo ->findOrFail($id);
54+ // return $this->repository ->findOrFail($id);
5555 }
5656
5757 /**
@@ -61,7 +61,7 @@ class DummyClass extends Repository {
6161 * @return bool
6262 */
6363 public function create(array $attributes) {
64- // return $this->repo ->create($attributes);
64+ // return $this->repository ->create($attributes);
6565 }
6666
6767 /**
@@ -72,7 +72,7 @@ class DummyClass extends Repository {
7272 * @return bool
7373 */
7474 public function update(array $attributes = []) {
75- // return $this->repo ->update($attributes);
75+ // return $this->repository ->update($attributes);
7676 }
7777
7878 /**
@@ -83,6 +83,6 @@ class DummyClass extends Repository {
8383 * @throws \Exception
8484 */
8585 public function delete($id) {
86- // return $this->repo ->findOrFail($id)->delete();
86+ // return $this->repository ->findOrFail($id)->delete();
8787 }
8888}
0 commit comments