Skip to content

Imobiliaria1.4#55

Open
GianL1 wants to merge 5 commits intohe--:imobiliaria2.0from
GianL1:imobiliaria1.4
Open

Imobiliaria1.4#55
GianL1 wants to merge 5 commits intohe--:imobiliaria2.0from
GianL1:imobiliaria1.4

Conversation

@GianL1
Copy link

@GianL1 GianL1 commented Jul 2, 2019

2 - Criar ação do botão deletar imovel. ✓
3 - Formatar o type de cadastro de imoveis✓
5 - Criar serviços e Ações nos respositores para o Controller Imovel.✓
Salvar✓
Editar✓
Deletar✓

6 - Criar os repositores para a Entidade Imovel. ✓
7 - Mapear Entidade ContratoAdm. ✓
8 - Mapear Entidade ContratoLocacao. ✓

As funções em negrito funcionam, porém apenas quando as linhas 55 a 63 na Entity Usuário são excluidas, não consegui corrigir esse erro, mas não exclui pra não fugir do que tinha no diagrama




} No newline at end of file
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

faltando linha em branco no fim do arquivo php, psr 2

$em = $this->getDoctrine()->getManager();
$em->persist($usuario);
$em->flush();
// $em = $this->getDoctrine()->getManager();
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

poderia remover o codigo comentado

/**
* @ORM\Entity
*/

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

phpdoc fora do lugar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments