Completed
Push — master ( 215596...154eb7 )
by Martin
03:32
created
src/Client.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -53,6 +53,9 @@  discard block
 block discarded – undo
53 53
         return $this->{$type}();
54 54
     }
55 55
 
56
+    /**
57
+     * @param string $url
58
+     */
56 59
     public function ajax($url, array $options = [], \Closure $processor = null)
57 60
     {
58 61
         $options['headers'] = array_merge(isset($options['headers']) ? $options['headers'] : [], ['X-Requested-With' => 'XMLHttpRequest']);
@@ -75,6 +78,9 @@  discard block
 block discarded – undo
75 78
         return $crawler;
76 79
     }
77 80
 
81
+    /**
82
+     * @param string $uri
83
+     */
78 84
     public function model($class, $uri)
79 85
     {
80 86
         return $this->manager->get($class, $uri, $this->initializer($class, $uri));
Please login to merge, or discard this patch.
src/Page/EventPage.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -121,6 +121,9 @@
 block discarded – undo
121 121
         return $sessions;
122 122
     }
123 123
 
124
+    /**
125
+     * @param Event $event
126
+     */
124 127
     public function getComments($event)
125 128
     {
126 129
         $comments = $this->crawler->filter('.comments .comment')->each(function (Crawler $node) use ($event) {
Please login to merge, or discard this patch.