@@ -117,8 +117,8 @@ discard block |
||
117 | 117 | public function persist(): EntityContract |
118 | 118 | { |
119 | 119 | $this->getRepository() |
120 | - ->em() |
|
121 | - ->persist($this); |
|
120 | + ->em() |
|
121 | + ->persist($this); |
|
122 | 122 | |
123 | 123 | return $this; |
124 | 124 | } |
@@ -126,8 +126,8 @@ discard block |
||
126 | 126 | public function flush(): EntityContract |
127 | 127 | { |
128 | 128 | $this->getRepository() |
129 | - ->em() |
|
130 | - ->flush($this); |
|
129 | + ->em() |
|
130 | + ->flush($this); |
|
131 | 131 | |
132 | 132 | return $this; |
133 | 133 | } |
@@ -135,8 +135,8 @@ discard block |
||
135 | 135 | public function remove(): EntityContract |
136 | 136 | { |
137 | 137 | $this->getRepository() |
138 | - ->em() |
|
139 | - ->remove($this); |
|
138 | + ->em() |
|
139 | + ->remove($this); |
|
140 | 140 | |
141 | 141 | return $this; |
142 | 142 | } |