Skip to content

Conversation

@ahmadsyamim
Copy link

added uri_value options to addReference()

public function __construct($prefix='ds', $attributes=[])
{
$template = self::BASE_TEMPLATE;
if (count($attributes)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

@ahmadsyamim You can drop the if-statement.. It unnecessary.
If attributes is empty, the foreach will be skipped automatically

Copy link
Author

Choose a reason for hiding this comment

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

@tvdijen
Sorry for late reply. I have drop the if-statement.

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.

2 participants