Skip to content

Commit 009caec

Browse files
committed
Update $query_attributes to $queryAttributes to be in line
1 parent deb1cc4 commit 009caec

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
All notable changes to `laravel-zoom` will be documented in this file
44

5+
## 1.0.15 - 2019-08-02
6+
7+
Update $query_attributes to $queryAttributes to be in line
8+
59
## 1.0.14 - 2019-07-28
610

711
Bug fix on issue with registrant relationship

src/Support/Model.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ abstract class Model
1111
protected $attributes = [];
1212
protected $createAttributes = [];
1313
protected $updateAttributes = [];
14-
protected $query_attributes = [];
14+
protected $queryAttributes = [];
1515
protected $relationships = [];
1616
protected $queries = [];
1717
protected $methods = [];
@@ -289,7 +289,7 @@ public function save()
289289

290290
public function where($key, $operator, $value = '')
291291
{
292-
if (in_array($key, $this->query_attributes)) {
292+
if (in_array($key, $this->queryAttributes)) {
293293
if ($value == '') {
294294
$value = $operator;
295295
$operator = '=';

0 commit comments

Comments
 (0)