Skip to content

Conversation

@vassilidev
Copy link
Collaborator

feat: Create automatically a thread on discord when creating a repository.

@vassilidev vassilidev linked an issue Apr 16, 2023 that may be closed by this pull request
@vassilidev vassilidev changed the base branch from master to develop April 16, 2023 15:27
…to-discord

# Conflicts:
#	app/Models/Repository.php
public function execute(
string $name,
ChannelType $channelType = ChannelType::TEXT,
?string $parentId = null

Choose a reason for hiding this comment

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

What is your opinion on union types?

I think its more readable and clear using it, like null|string

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

for null its ok to use "?"

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

string|int|null ok
bcuz ?string|int not readable and may not work

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.

webhook to discord

3 participants