Minor code cleanup

This commit is contained in:
Timothy Warren 2017-11-17 15:55:30 -05:00
parent 5e42f6b833
commit 4a9c5210c5
4 changed files with 3 additions and 11 deletions

1
.gitignore vendored
View File

@ -15,3 +15,4 @@
!var/SymfonyRequirements.php
/vendor/
/web/bundles/
/**/*.php~

View File

@ -3,7 +3,7 @@
{% block body %}
<h2>Previously Owned Flashes</h2>
<table>
<table class="hover scroll stack">
<thead>
<tr>
<th>Actions</th>
@ -49,10 +49,4 @@
{% endfor %}
</tbody>
</table>
<ul>
<li>
<a href="{{ path('previously-owned-flash_new') }}">Create a new previouslyOwnedFlash</a>
</li>
</ul>
{% endblock %}

View File

@ -10,7 +10,7 @@ use Doctrine\ORM\Mapping as ORM;
* @ORM\Table(name="previously_owned_flash", schema="camera")
* @ORM\Entity
*/
class PreviouslyOwnedFlash extends Flash
class PreviouslyOwnedFlash
{
use PurchasePriceTrait;

View File

@ -7,9 +7,6 @@ require __DIR__.'/../vendor/autoload.php';
Debug::enable();
$kernel = new AppKernel('dev', true);
if (PHP_VERSION_ID < 70000) {
$kernel->loadClassCache();
}
$request = Request::createFromGlobals();
$response = $kernel->handle($request);
$response->send();