plugin icon indicating copy to clipboard operation
plugin copied to clipboard

[Bug]: The action of creating an Observer does not create the selected methods.

Open abkrim opened this issue 1 year ago • 3 comments

Bug description

Reproduce all times.

  • Laravel Create Observer
  • Select name
  • Select methods

Result:

A class without methods.

Plugin version

8.1.4.241

Operating system

MacOS

Steps to reproduce

  • Laravel Create Observer
  • Select name
  • Select methods

Result:

A class without methods.

Castrissitelight – CommandCenterProblemObserver php0605163334 CastrisCreate Observer0605163314

Relevant log output

No response

abkrim avatar Jun 05 '24 14:06 abkrim

These options work only if the Observed class is not empty. Sorry, it probably should be shown somehow.

adelf avatar Jun 12 '24 13:06 adelf

Also fail with class

Castrissitelight_pg – UserObserver php0703080144 CastrisCreate Observer0703080429

abkrim avatar Jul 03 '24 06:07 abkrim

And the reason is written. It's not an Eloquent class. Do observers work with non-Eliqeunt classes?

adelf avatar Jul 12 '24 12:07 adelf