Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-2993

PHP 7.1 generated setter return void

    XMLWordPrintableJSON

Details

    Description

      Add "void" return type for generated setter in PHP >7.1 when setter is not fluent.

      Example:

       public function setFoo(?string $foo): void {
              $this->foo = $foo;
          }

      Attachments

        Issue Links

          Activity

            People

              junichi11 Junichi Yamamoto
              Kacer Tomáš Procházka
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m