Passed
Push — master ( 26f6ea...ecaac2 )
by David
01:28
created
src/Breadcrumb/BreadthFirstBreadcrumb.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function createBreadcrumb(Place $startPlace, Place $endPlace = null)
52 52
     {
53
-        if ( is_callable( $this->onPreCreateBreadcumb ) ) {
53
+        if (is_callable($this->onPreCreateBreadcumb)) {
54 54
             call_user_func($this->onPreCreateBreadcumb, $startPlace, $this->placeCollector->getPlacesType());
55 55
         }
56 56
 
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
             /** @var Place $current */
62 62
             $current = array_shift($frontier);
63 63
 
64
-            if ( is_callable( $this->onWalk ) ) {
64
+            if (is_callable($this->onWalk)) {
65 65
                 call_user_func($this->onWalk, $current);
66 66
             }
67 67
 
Please login to merge, or discard this patch.