@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | ->where('id = :id', [':id' => $scope->id]) |
| 73 | 73 | ->one($this->db); |
| 74 | 74 | if ($entity !== false) { |
| 75 | - throw new DuplicateKeyException('Duplicate key "' . $scope->id . '"'); |
|
| 75 | + throw new DuplicateKeyException('Duplicate key "'.$scope->id.'"'); |
|
| 76 | 76 | } |
| 77 | 77 | $values = $scope->getDirtyAttributes($attributes); |
| 78 | 78 | $scopeParameters = []; |
@@ -126,7 +126,7 @@ discard block |
||
| 126 | 126 | ->where('id = :id', [':id' => $values[$modelKey]]) |
| 127 | 127 | ->one($this->db); |
| 128 | 128 | if ($entity !== false) { |
| 129 | - throw new DuplicateKeyException('Duplicate key "' . $values[$modelKey] . '"'); |
|
| 129 | + throw new DuplicateKeyException('Duplicate key "'.$values[$modelKey].'"'); |
|
| 130 | 130 | } |
| 131 | 131 | } |
| 132 | 132 | $scopeKey = isset($values[$modelKey]) ? $values[$modelKey] : $scope->getKey(); |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | ->where('id = :id', [':id' => $cypherKeyKey]) |
| 67 | 67 | ->one($this->db); |
| 68 | 68 | if ($entity !== false) { |
| 69 | - throw new DuplicateKeyException('Duplicate key "' . $cypherKeyKey . '"'); |
|
| 69 | + throw new DuplicateKeyException('Duplicate key "'.$cypherKeyKey.'"'); |
|
| 70 | 70 | } |
| 71 | 71 | $values = $cypherKey->getDirtyAttributes($attributes); |
| 72 | 72 | $cypherKeyParameters = []; |
@@ -120,7 +120,7 @@ discard block |
||
| 120 | 120 | ->where('id = :id', [':id' => $values[$modelKey]]) |
| 121 | 121 | ->one($this->db); |
| 122 | 122 | if ($entity !== false) { |
| 123 | - throw new DuplicateKeyException('Duplicate key "' . $values[$modelKey] . '"'); |
|
| 123 | + throw new DuplicateKeyException('Duplicate key "'.$values[$modelKey].'"'); |
|
| 124 | 124 | } |
| 125 | 125 | } |
| 126 | 126 | $cypherKeyKey = isset($values[$modelKey]) ? $values[$modelKey] : $cypherKey->getKey(); |
@@ -67,7 +67,7 @@ discard block |
||
| 67 | 67 | ->where('id = :id', [':id' => $jtiKey]) |
| 68 | 68 | ->one($this->db); |
| 69 | 69 | if ($entity !== false) { |
| 70 | - throw new DuplicateKeyException('Duplicate key "' . $jtiKey . '"'); |
|
| 70 | + throw new DuplicateKeyException('Duplicate key "'.$jtiKey.'"'); |
|
| 71 | 71 | } |
| 72 | 72 | $values = $jti->getDirtyAttributes($attributes); |
| 73 | 73 | $jtisParameters = []; |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | ->where('id = :id', [':id' => $values[$modelKey]]) |
| 122 | 122 | ->one($this->db); |
| 123 | 123 | if ($entity !== false) { |
| 124 | - throw new DuplicateKeyException('Duplicate key "' . $values[$modelKey] . '"'); |
|
| 124 | + throw new DuplicateKeyException('Duplicate key "'.$values[$modelKey].'"'); |
|
| 125 | 125 | } |
| 126 | 126 | } |
| 127 | 127 | $jtiKey = isset($values[$modelKey]) ? $values[$modelKey] : $jti->getKey(); |