Code Duplication    Length = 10-10 lines in 3 locations

lib/Trello/Model/Member.php 2 locations

@@ 306-315 (lines=10) @@
303
    /**
304
     * {@inheritdoc}
305
     */
306
    public function getBoards()
307
    {
308
        $boards = array();
309
310
        foreach ($this->data['idBoards'] as $boardId) {
311
            $boards[] = new Board($this->client, $boardId);
312
        }
313
314
        return $boards;
315
    }
316
317
    /**
318
     * {@inheritdoc}
@@ 338-347 (lines=10) @@
335
    /**
336
     * {@inheritdoc}
337
     */
338
    public function getPinnedBoards()
339
    {
340
        $boards = array();
341
342
        foreach ($this->data['idBoardsPinned'] as $boardId) {
343
            $boards[] = new Board($this->client, $boardId);
344
        }
345
346
        return $boards;
347
    }
348
349
    /**
350
     * {@inheritdoc}

lib/Trello/Model/Organization.php 1 location

@@ 111-120 (lines=10) @@
108
    /**
109
     * {@inheritdoc}
110
     */
111
    public function getBoards()
112
    {
113
        $boards = array();
114
115
        foreach ($this->data['idBoards'] as $boardId) {
116
            $boards[] = new Board($this->client, $boardId);
117
        }
118
119
        return $boards;
120
    }
121
122
    /**
123
     * {@inheritdoc}