Skip to content
This repository has been archived by the owner on Apr 10, 2019. It is now read-only.

has type errors #3

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

has type errors #3

wants to merge 3 commits into from

Conversation

holyshared
Copy link
Contributor

No description provided.

Copy link

@hhpack-bot hhpack-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Type check error found in your pull request.

src/Stack.hh Outdated
@@ -12,7 +12,7 @@ final class Stack<T>
$this->items = Set::fromItems($items);
}

public function add($item): void
public function add(T $item): void
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix

Copy link
Contributor Author

@holyshared holyshared left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants