Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Notice in documentation #65

Open
tasselchof opened this issue Feb 20, 2018 · 1 comment
Open

Notice in documentation #65

tasselchof opened this issue Feb 20, 2018 · 1 comment

Comments

@tasselchof
Copy link
Contributor

array_map(): Argument #2 should be an array

in class

class AgAcceptHeaders extends AbstractHelper { /** * Render a list group of Accept headers composed by the service * * @param Service $service * @return string */ public function __invoke(Service $service) { $view = $this->getView(); $types = array_map(function ($type) use ($view) { return sprintf('<div class="list-group-item">%s</div>', $view->escapeHtml($type)); }, $service->getRequestAcceptTypes()); return implode("\n", $types); } }

tasselchof added a commit to tasselchof/zf-apigility-documentation that referenced this issue Feb 20, 2018
@weierophinney
Copy link
Member

This repository has been closed and moved to laminas-api-tools/api-tools-documentation; a new issue has been opened at laminas-api-tools/api-tools-documentation#2.

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

No branches or pull requests

2 participants