• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

orchestral / view / 245 / 7
100%
master: 99%

Build:
Build:
LAST BUILD BRANCH: v6.0.0
DEFAULT BRANCH: master
Ran 28 Jan 2016 11:01PM UTC
Files 6
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

28 Jan 2016 10:59PM UTC coverage: 100.0%. Remained the same
setup=coveralls coverage=yes

push

travis-ci

crynobone
Allow multiple arguments in Decorator render method

Right now in the decorator if I want to pass in multiple arguments to be passed to the view, I need to pass an array. However retrieving all method arguments allows type-hint ability in decorator macros. For example:

```php
Decorator::macro('issue-comment', function (Comment $comment, Issue $issue)  {
    return view('components.issue-comment', compact('comment', 'issue'));
});
```

Usage:

```php
@decorator('issue-comment', $comment, $issue);
```

133 of 133 relevant lines covered (100.0%)

1.82 hits per line

Source Files on job 245.7 (setup=coveralls coverage=yes)
  • Tree
  • List 0
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 245
  • Travis Job 245.7
  • 8aa1480e on github
  • Prev Job for setup=coveralls coverage=yes on 3.2 (#239.7)
  • Next Job for setup=coveralls coverage=yes on 3.2 (#246.7)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc