Subversion-Projekte lars-tiefland.laravel_shop

Revision

Revision 148 | Ganze Datei anzeigen | Leerzeichen ignorieren | Details | Blame | Letzte Änderung | Log anzeigen | RSS feed

Revision 148 Revision 991
Zeile 323... Zeile 323...
323
     * @param  \Closure|string|object  $job
323
     * @param  \Closure|string|object  $job
324
     * @return bool
324
     * @return bool
325
     */
325
     */
326
    protected function shouldDispatchAfterCommit($job)
326
    protected function shouldDispatchAfterCommit($job)
327
    {
327
    {
328
        if (is_object($job) && isset($job->afterCommit)) {
328
        if (! $job instanceof Closure && is_object($job) && isset($job->afterCommit)) {
329
            return $job->afterCommit;
329
            return $job->afterCommit;
330
        }
330
        }
Zeile 331... Zeile 331...
331
 
331
 
332
        if (isset($this->dispatchAfterCommit)) {
332
        if (isset($this->dispatchAfterCommit)) {