Improve type of Model and Builder classes

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Minor - P4
    • laravel-5.4.1
    • Affects Version/s: None
    • Component/s: Laravel
    • None
    • PHP Drivers
    • Not Needed
    • None
    • None
    • None
    • None
    • None
    • None

      It must be possible to add annotations to help PHPStorm and PHPStan to know the correct types of overloaded methods. 

      https://github.com/mongodb/laravel-mongodb/pull/3342#discussion_r2036908426 

              Assignee:
              Pauline Vos
              Reporter:
              Jérôme Tamarelle
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 1 week
                  1w
                  Remaining:
                  Remaining Estimate - 1 week
                  1w
                  Logged:
                  Time Spent - Not Specified
                  Not Specified