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

Wrong formatting of anonymous function

    XMLWordPrintableJSON

Details

    Description

      Formatting of anonymous function does not add missing space before parentheses in declaration.

      Code:

      $lambda = function($param) use($parent) {
          echo "$param\n";
      };
      

      Expected result:

      $lambda = function ($param) use ($parent) {
          echo "$param\n";
      };
      

      Attachments

        Issue Links

          Activity

            People

              Kacer Tomáš Procházka
              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 - 1h 10m
                  1h 10m