58 foreach ( $this->toDelete as $k ) {
59 if (isset ( $messages [$k] )) {
60 unset ( $messages [$k] );
63 foreach ( $this->toUpdate as $k => $v ) {
66 foreach ( $this->toAdd as $k => $v ) {
67 if (isset ( $this->newKeys [$k] )) {
71 $messages [$k] = [ $v,$this->newKeys [$k] ];