|  | @@ 209-213 (lines=5) @@ | 
                                                            
                                    | 206 |  |  | 
                                                            
                                    | 207 |  |                     $size = count($data); | 
                                                            
                                    | 208 |  |  | 
                                                            
                                    | 209 |  |                     if ($size < 1) { | 
                                                            
                                    | 210 |  |                         $this->addErrors(trans('admin.common.csv_invalid_no_data')); | 
                                                            
                                    | 211 |  |  | 
                                                            
                                    | 212 |  |                         return $this->renderWithError($form, $headers, false); | 
                                                            
                                    | 213 |  |                     } | 
                                                            
                                    | 214 |  |  | 
                                                            
                                    | 215 |  |                     $headerSize = count($columnHeaders); | 
                                                            
                                    | 216 |  |                     $headerByKey = array_flip(array_map($getId, $headers)); | 
                                                                                
                                |  | @@ 724-728 (lines=5) @@ | 
                                                            
                                    | 721 |  |                     } | 
                                                            
                                    | 722 |  |  | 
                                                            
                                    | 723 |  |                     $size = count($data); | 
                                                            
                                    | 724 |  |                     if ($size < 1) { | 
                                                            
                                    | 725 |  |                         $this->addErrors(trans('admin.common.csv_invalid_no_data')); | 
                                                            
                                    | 726 |  |  | 
                                                            
                                    | 727 |  |                         return $this->renderWithError($form, $headers, false); | 
                                                            
                                    | 728 |  |                     } | 
                                                            
                                    | 729 |  |                     $this->entityManager->getConfiguration()->setSQLLogger(null); | 
                                                            
                                    | 730 |  |                     $this->entityManager->getConnection()->beginTransaction(); | 
                                                            
                                    | 731 |  |                     // CSVファイルの登録処理 |