Completed
Push — master ( b5be07...eb7aa9 )
by zacksleo
01:54
created
src/migrations/m160501_075311_add_oauth2_server.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -5,6 +5,9 @@  discard block
 block discarded – undo
5 5
 class m160501_075311_add_oauth2_server extends \yii\db\Migration
6 6
 {
7 7
 
8
+    /**
9
+     * @return string|null
10
+     */
8 11
     public function mysql($yes, $no = '')
9 12
     {
10 13
         return $this->db->driverName === 'mysql' ? $yes : $no;
@@ -15,6 +18,13 @@  discard block
 block discarded – undo
15 18
         return 'PRIMARY KEY (' . $this->db->getQueryBuilder()->buildColumns($columns) . ')';
16 19
     }
17 20
 
21
+    /**
22
+     * @param string $columns
23
+     * @param string $refTable
24
+     * @param string $refColumns
25
+     * @param string $onDelete
26
+     * @param string $onUpdate
27
+     */
18 28
     public function foreignKey($columns, $refTable, $refColumns, $onDelete = null, $onUpdate = null)
19 29
     {
20 30
         $builder = $this->db->getQueryBuilder();
Please login to merge, or discard this patch.
src/api/filters/ErrorToExceptionFilter.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 
21 21
     /**
22 22
      * @param ActionEvent $event
23
-     * @return boolean
23
+     * @return boolean|null
24 24
      * @throws HttpException when the request method is not allowed.
25 25
      */
26 26
     public function afterAction($event)
Please login to merge, or discard this patch.