Skip to content

Conversation

@timacdonald
Copy link
Member

@timacdonald timacdonald commented Nov 18, 2024

Made some updates to the documenter to support:

  1. Resolving generics that are "of type", e.g., TGrammar of \Illuminate\Database\Grammar
    /**
     * Set the table prefix and return the grammar.
     *
     * @template TGrammar of \Illuminate\Database\Grammar
     *
     * @param  TGrammar  $grammar
     * @return TGrammar
     */
    public function withTablePrefix(Grammar $grammar)
    {
        $grammar->setTablePrefix($this->tablePrefix);

        return $grammar;
    }
  1. Classes that recursively mixin each other. This was causing a memory exhaustion issue in CI.

This PR can be closed if another PR is merged with these changes. The PR is just here for visibility into the modifications.

@taylorotwell taylorotwell merged commit aa01afe into 11.x Nov 18, 2024
32 checks passed
@taylorotwell taylorotwell deleted the docblocks branch November 18, 2024 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants