Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-15910

Pass object arguments by reference implicitly

XMLWordPrintable

    Error rendering 'com.atlassian.jira.jira-view-issue-plugin:details-module'. Please contact your Jira administrators.

      Since PHP 5, object arguments don't need to be passed by reference explicitly anymore. The only exception to this is when the object the argument points to is re-assigned in the function body.

      All the unneeded & in function arguments where objects are passed should be removed.

            Marc Marc
            kasimi kasimi [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: