@@ -87,7 +87,7 @@ discard block |
||
87 | 87 | throw new CacheException('Entity cache size exceeded'); |
88 | 88 | } |
89 | 89 | |
90 | - return $this->data[get_class($entity) . '.' . $entity->primaryKey()] = $entity; |
|
90 | + return $this->data[get_class($entity).'.'.$entity->primaryKey()] = $entity; |
|
91 | 91 | } |
92 | 92 | |
93 | 93 | /** |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | return; |
102 | 102 | } |
103 | 103 | |
104 | - unset($this->data[get_class($entity) . '.' . $entity->primaryKey()]); |
|
104 | + unset($this->data[get_class($entity).'.'.$entity->primaryKey()]); |
|
105 | 105 | } |
106 | 106 | |
107 | 107 | /** |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | */ |
115 | 115 | public function has($class, $primaryKey) |
116 | 116 | { |
117 | - return isset($this->data[$class . '.' . $primaryKey]); |
|
117 | + return isset($this->data[$class.'.'.$primaryKey]); |
|
118 | 118 | } |
119 | 119 | |
120 | 120 | /** |
@@ -127,11 +127,11 @@ discard block |
||
127 | 127 | */ |
128 | 128 | public function get($class, $primaryKey) |
129 | 129 | { |
130 | - if (empty($this->data[$class . '.' . $primaryKey])) { |
|
130 | + if (empty($this->data[$class.'.'.$primaryKey])) { |
|
131 | 131 | return null; |
132 | 132 | } |
133 | 133 | |
134 | - return $this->data[$class . '.' . $primaryKey]; |
|
134 | + return $this->data[$class.'.'.$primaryKey]; |
|
135 | 135 | } |
136 | 136 | |
137 | 137 | /** |