@@ -86,11 +86,11 @@ |
||
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | public function process($students,$count,$type){ |
| 89 | - if($type === 'duplicate'){ |
|
| 89 | + if($type === 'duplicate'){ |
|
| 90 | 90 | array_walk($students,array($this,'cleanData')); |
| 91 | - }elseif($type === 'lock'){ |
|
| 91 | + }elseif($type === 'lock'){ |
|
| 92 | 92 | array_walk($students,array($this,'lockData')); |
| 93 | - } |
|
| 93 | + } |
|
| 94 | 94 | } |
| 95 | 95 | |
| 96 | 96 | public function lockData($Student){ |