@@ -11,7 +11,7 @@ |
||
| 11 | 11 | * @param string $class The fully-qualified class name. |
| 12 | 12 | * @return void |
| 13 | 13 | */ |
| 14 | -spl_autoload_register(function ($class) { |
|
| 14 | +spl_autoload_register(function($class) { |
|
| 15 | 15 | // project-specific namespace prefix |
| 16 | 16 | //$prefix = 'Foo\\Bar\\'; |
| 17 | 17 | $prefix = 'donami\\'; |
@@ -65,14 +65,14 @@ |
||
| 65 | 65 | * @return string The HTML to be returned |
| 66 | 66 | */ |
| 67 | 67 | public function generate($data = array()) { |
| 68 | - $data = !empty($data)? $data : $this->data; |
|
| 68 | + $data = !empty($data) ? $data : $this->data; |
|
| 69 | 69 | |
| 70 | 70 | $html = $this->tags['table_start']; |
| 71 | 71 | |
| 72 | 72 | $html .= $this->headings; |
| 73 | 73 | |
| 74 | 74 | foreach ($data as $key => $value) { |
| 75 | - $html .= $this->tags['tr_start'];; |
|
| 75 | + $html .= $this->tags['tr_start']; ; |
|
| 76 | 76 | foreach ($value as $td) { |
| 77 | 77 | $html .= $this->tags['td_start']; |
| 78 | 78 | $html .= $td; |